freemind.modes
Class EdgeAdapter
java.lang.Object
freemind.modes.EdgeAdapter
- All Implemented Interfaces:
- MindMapEdge
- Direct Known Subclasses:
- BrowseEdgeModel, FileEdgeModel, MindMapEdgeModel, SchemeEdgeModel
- public abstract class EdgeAdapter
- extends java.lang.Object
- implements MindMapEdge
| Methods inherited from class java.lang.Object |
clone, 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
color
protected java.awt.Color color
style
protected java.lang.String style
width
protected int width
stroke
protected java.awt.Stroke stroke
EdgeAdapter
public EdgeAdapter(MindMapNode target,
FreeMindMain frame)
getFrame
public FreeMindMain getFrame()
getColor
public java.awt.Color getColor()
- Specified by:
getColor in interface MindMapEdge
setColor
protected void setColor(java.awt.Color color)
getWidth
public int getWidth()
- Specified by:
getWidth in interface MindMapEdge
getStroke
public java.awt.Stroke getStroke()
- Specified by:
getStroke in interface MindMapEdge
setWidth
public void setWidth(int width)
getStyle
public java.lang.String getStyle()
- Specified by:
getStyle in interface MindMapEdge
setStyle
protected void setStyle(java.lang.String style)
toString
public java.lang.String toString()
- Specified by:
toString in interface MindMapEdge
setTarget
public void setTarget(MindMapNode target)
- Specified by:
setTarget in interface MindMapEdge