freemind.modes

Class ArrowLinkAdapter

Implemented Interfaces:
Cloneable, MindMapArrowLink, MindMapLine, MindMapLink
Known Direct Subclasses:
BrowseArrowLinkModel, MindMapArrowLinkModel

public abstract class ArrowLinkAdapter
extends LinkAdapter
implements MindMapArrowLink

Field Summary

protected String
endArrow
protected Point
endInclination
the zero is the start point of the line;
protected String
startArrow
protected Point
startInclination
the zero is the start point of the line;

Fields inherited from class freemind.modes.LineAdapter

DEFAULT_WIDTH, NORMAL_WIDTH, color, frame, standardColorPropertyString, standardStylePropertyString, stroke, style, target, width

Constructor Summary

ArrowLinkAdapter(MindMapNode source, MindMapNode target, FreeMindMain frame)

Method Summary

Object
clone()
String
getEndArrow()
Point
getEndInclination()
String
getStartArrow()
Point
getStartInclination()
void
setEndArrow(String endArrow)
void
setEndInclination(Point endInclination)
void
setStartArrow(String startArrow)
void
setStartInclination(Point startInclination)

Methods inherited from class freemind.modes.LinkAdapter

getDestinationLabel, getReferenceText, getSource, setDestinationLabel, setReferenceText, setSource

Methods inherited from class freemind.modes.LineAdapter

clone, getColor, getFrame, getStroke, getStyle, getTarget, getWidth, setColor, setStyle, setTarget, setWidth, toString

Field Details

endArrow

protected String endArrow

endInclination

protected Point endInclination
the zero is the start point of the line;

startArrow

protected String startArrow

startInclination

protected Point startInclination
the zero is the start point of the line;

Constructor Details

ArrowLinkAdapter

public ArrowLinkAdapter(MindMapNode source,
                        MindMapNode target,
                        FreeMindMain frame)

Method Details

clone

public Object clone()
Specified by:
clone in interface MindMapLine
Overrides:
clone in interface LineAdapter

getEndArrow

public String getEndArrow()
Specified by:
getEndArrow in interface MindMapArrowLink

getEndInclination

public Point getEndInclination()
Specified by:
getEndInclination in interface MindMapArrowLink

getStartArrow

public String getStartArrow()
Specified by:
getStartArrow in interface MindMapArrowLink

getStartInclination

public Point getStartInclination()
Specified by:
getStartInclination in interface MindMapArrowLink

setEndArrow

public void setEndArrow(String endArrow)

setEndInclination

public void setEndInclination(Point endInclination)

setStartArrow

public void setStartArrow(String startArrow)

setStartInclination

public void setStartInclination(Point startInclination)