freemind.modes
Class EdgeAdapter

java.lang.Object
  extended byfreemind.modes.EdgeAdapter
All Implemented Interfaces:
MindMapEdge
Direct Known Subclasses:
BrowseEdgeModel, FileEdgeModel, MindMapEdgeModel, SchemeEdgeModel

public abstract class EdgeAdapter
extends java.lang.Object
implements MindMapEdge


Field Summary
protected  java.awt.Color color
           
protected  java.awt.Stroke stroke
           
protected  java.lang.String style
           
protected  int width
           
static int WIDTH_PARENT
           
static int WIDTH_THIN
           
 
Constructor Summary
EdgeAdapter(MindMapNode target, FreeMindMain frame)
           
 
Method Summary
 java.awt.Color getColor()
           
 FreeMindMain getFrame()
           
 java.awt.Stroke getStroke()
           
 java.lang.String getStyle()
           
 int getWidth()
           
protected  void setColor(java.awt.Color color)
           
protected  void setStyle(java.lang.String style)
           
 void setTarget(MindMapNode target)
           
 void setWidth(int width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

EdgeAdapter

public EdgeAdapter(MindMapNode target,
                   FreeMindMain frame)
Method Detail

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