freemind.modes
Class EdgeAdapter
java.lang.Object
freemind.modes.LineAdapter
freemind.modes.EdgeAdapter
- All Implemented Interfaces:
- MindMapEdge, MindMapLine, java.lang.Cloneable
- 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 |
EDGE_WIDTH_THIN_STRING
public static final java.lang.String EDGE_WIDTH_THIN_STRING
- See Also:
- Constant Field Values
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
EDGESTYLE_LINEAR
public static final java.lang.String EDGESTYLE_LINEAR
- See Also:
- Constant Field Values
EDGESTYLE_BEZIER
public static final java.lang.String EDGESTYLE_BEZIER
- See Also:
- Constant Field Values
EDGESTYLE_SHARP_LINEAR
public static final java.lang.String EDGESTYLE_SHARP_LINEAR
- See Also:
- Constant Field Values
EDGESTYLE_SHARP_BEZIER
public static final java.lang.String EDGESTYLE_SHARP_BEZIER
- See Also:
- Constant Field Values
EdgeAdapter
public EdgeAdapter(MindMapNode target,
FreeMindMain frame)
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
getRealWidth
public int getRealWidth()
- Description copied from class:
LineAdapter
- Get the width in pixels rather than in width constant (like -1)
- Specified by:
getRealWidth
in interface MindMapLine
- Overrides:
getRealWidth
in class LineAdapter
setWidth
public void setWidth(int width)
- Overrides:
setWidth
in class LineAdapter
getStyle
public java.lang.String getStyle()
- Specified by:
getStyle
in interface MindMapLine
- Overrides:
getStyle
in class LineAdapter
hasStyle
public boolean hasStyle()
- Specified by:
hasStyle
in interface MindMapEdge
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
getStandardColorPropertyString
protected java.lang.String getStandardColorPropertyString()
- Specified by:
getStandardColorPropertyString
in class LineAdapter
getStandardStylePropertyString
protected java.lang.String getStandardStylePropertyString()
- Specified by:
getStandardStylePropertyString
in class LineAdapter