freemind.modes

Class LineAdapter

public abstract class LineAdapter extends Object implements MindMapLine

Field Summary
protected Colorcolor
static intDEFAULT_WIDTH
protected FreeMindMainframe
protected intNORMAL_WIDTH
protected StringstandardColorPropertyString
protected StringstandardStylePropertyString
protected Strokestroke
protected Stringstyle
protected MindMapNodetarget
protected intwidth
Constructor Summary
LineAdapter(MindMapNode target, FreeMindMain frame, String standardColorPropertyString, String standardStylePropertyString)
Method Summary
Objectclone()
ColorgetColor()
FreeMindMaingetFrame()
StrokegetStroke()
StringgetStyle()
MindMapNodegetTarget()
I see no reason to hide the node, the line belongs to, to the public, but... fc.
intgetWidth()
voidsetColor(Color color)
voidsetStyle(String style)
voidsetTarget(MindMapNode target)
voidsetWidth(int width)
StringtoString()

Field Detail

color

protected Color color

DEFAULT_WIDTH

public static final int DEFAULT_WIDTH

frame

protected FreeMindMain frame

NORMAL_WIDTH

protected int NORMAL_WIDTH

standardColorPropertyString

protected String standardColorPropertyString

standardStylePropertyString

protected String standardStylePropertyString

stroke

protected Stroke stroke

style

protected String style

target

protected MindMapNode target

width

protected int width

Constructor Detail

LineAdapter

public LineAdapter(MindMapNode target, FreeMindMain frame, String standardColorPropertyString, String standardStylePropertyString)

Method Detail

clone

public Object clone()

getColor

public Color getColor()

getFrame

public FreeMindMain getFrame()

getStroke

public Stroke getStroke()

getStyle

public String getStyle()

getTarget

public MindMapNode getTarget()
I see no reason to hide the node, the line belongs to, to the public, but... fc.

getWidth

public int getWidth()

setColor

public void setColor(Color color)

setStyle

public void setStyle(String style)

setTarget

public void setTarget(MindMapNode target)

setWidth

public void setWidth(int width)

toString

public String toString()