freemind.modes
Class EdgeAdapter
java.lang.Object
freemind.modes.LineAdapter
freemind.modes.EdgeAdapter
- All Implemented Interfaces:
- java.lang.Cloneable, MindMapEdge, MindMapLine
- Direct Known Subclasses:
- BrowseEdgeModel, FileEdgeModel, MindMapEdgeModel, SchemeEdgeModel
- public abstract class EdgeAdapter
- extends LineAdapter
- implements MindMapEdge
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WIDTH_PARENT
public static final int WIDTH_PARENT
- See Also:
- Constant Field Values
WIDTH_THIN
public static final int WIDTH_THIN
- See Also:
- Constant Field Values
EdgeAdapter
public EdgeAdapter(MindMapNode target,
FreeMindMain frame)
EdgeAdapter
protected EdgeAdapter(MindMapNode target,
FreeMindMain frame,
java.lang.String standardColorPropertyString,
java.lang.String standardStylePropertyString)
- For derived classes.
getColor
public java.awt.Color getColor()
- Specified by:
getColor
in interface MindMapLine
- Overrides:
getColor
in class LineAdapter
getRealColor
public java.awt.Color getRealColor()
getWidth
public int getWidth()
- Specified by:
getWidth
in interface MindMapLine
- Overrides:
getWidth
in class LineAdapter
getStroke
public java.awt.Stroke getStroke()
- Specified by:
getStroke
in interface MindMapLine
- Overrides:
getStroke
in class LineAdapter
setWidth
public void setWidth(int width)
- Overrides:
setWidth
in class LineAdapter
getRealWidth
public int getRealWidth()
getStyle
public java.lang.String getStyle()
- Specified by:
getStyle
in interface MindMapLine
- Overrides:
getStyle
in class LineAdapter
save
public XMLElement save()
- Specified by:
save
in interface MindMapEdge
getStandardColor
protected java.awt.Color getStandardColor()
- Description copied from class:
LineAdapter
- See @see setStandardColor
- Specified by:
getStandardColor
in class LineAdapter
setStandardColor
protected void setStandardColor(java.awt.Color standardColor)
- Description copied from class:
LineAdapter
- As this color is static but used in at least three different
objects (edges, clouds and links), the abstract mechanism was chosen.
The derived classes set and get the static instance variable.
- Specified by:
setStandardColor
in class LineAdapter
getStandardStyle
protected java.lang.String getStandardStyle()
- Specified by:
getStandardStyle
in class LineAdapter
setStandardStyle
protected void setStandardStyle(java.lang.String standardStyle)
- Specified by:
setStandardStyle
in class LineAdapter