freemind.modes

Class EdgeAdapter

Implemented Interfaces:
Cloneable, MindMapEdge, MindMapLine
Known Direct Subclasses:
BrowseEdgeModel, FileEdgeModel, MindMapEdgeModel, SchemeEdgeModel

public abstract class EdgeAdapter
extends LineAdapter
implements MindMapEdge

Field Summary

static int
WIDTH_PARENT
static int
WIDTH_THIN

Fields inherited from class freemind.modes.LineAdapter

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

Constructor Summary

EdgeAdapter(MindMapNode target, FreeMindMain frame)
EdgeAdapter(MindMapNode target, FreeMindMain frame, String standardColorPropertyString, String standardStylePropertyString)
For derived classes.

Method Summary

Color
getColor()
Stroke
getStroke()
String
getStyle()
int
getWidth()
void
setWidth(int width)

Methods inherited from class freemind.modes.LineAdapter

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

Field Details

WIDTH_PARENT

public static final int WIDTH_PARENT
Field Value:
-1

WIDTH_THIN

public static final int WIDTH_THIN
Field Value:
0

Constructor Details

EdgeAdapter

public EdgeAdapter(MindMapNode target,
                   FreeMindMain frame)

EdgeAdapter

protected EdgeAdapter(MindMapNode target,
                      FreeMindMain frame,
                      String standardColorPropertyString,
                      String standardStylePropertyString)
For derived classes.

Method Details

getColor

public Color getColor()
Specified by:
getColor in interface MindMapLine
Overrides:
getColor in interface LineAdapter

getStroke

public Stroke getStroke()
Specified by:
getStroke in interface MindMapLine
Overrides:
getStroke in interface LineAdapter

getStyle

public String getStyle()
Specified by:
getStyle in interface MindMapLine
Overrides:
getStyle in interface LineAdapter

getWidth

public int getWidth()
Specified by:
getWidth in interface MindMapLine
Overrides:
getWidth in interface LineAdapter

setWidth

public void setWidth(int width)
Overrides:
setWidth in interface LineAdapter