|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemind.modes.LineAdapter
public abstract class LineAdapter
Field Summary | |
---|---|
protected java.awt.Color |
color
|
static int |
DEFAULT_WIDTH
|
protected FreeMindMain |
frame
|
protected int |
NORMAL_WIDTH
|
protected java.lang.String |
style
|
protected MindMapNode |
target
|
protected int |
width
|
Constructor Summary | |
---|---|
LineAdapter(MindMapNode target,
FreeMindMain frame)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.awt.Color |
getColor()
|
FreeMindMain |
getFrame()
|
int |
getRealWidth()
Get the width in pixels rather than in width constant (like -1) |
protected abstract java.awt.Color |
getStandardColor()
See @see setStandardColor |
protected abstract java.lang.String |
getStandardColorPropertyString()
|
protected abstract java.lang.String |
getStandardStyle()
|
protected abstract java.lang.String |
getStandardStylePropertyString()
|
java.lang.String |
getStyle()
|
MindMapNode |
getTarget()
I see no reason to hide the node, the line belongs to, to the public, but... fc. |
int |
getWidth()
|
void |
setColor(java.awt.Color color)
|
protected abstract void |
setStandardColor(java.awt.Color standardColor)
As this color is static but used in at least three different objects (edges, clouds and links), the abstract mechanism was chosen. |
protected abstract void |
setStandardStyle(java.lang.String standardStyle)
|
void |
setStyle(java.lang.String style)
|
void |
setTarget(MindMapNode target)
The node to which this line is associated. |
void |
setWidth(int width)
|
java.lang.String |
toString()
|
protected void |
updateStandards()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected FreeMindMain frame
protected MindMapNode target
public static final int DEFAULT_WIDTH
protected int NORMAL_WIDTH
protected java.awt.Color color
protected java.lang.String style
protected int width
Constructor Detail |
---|
public LineAdapter(MindMapNode target, FreeMindMain frame)
Method Detail |
---|
protected void updateStandards()
public FreeMindMain getFrame()
public java.awt.Color getColor()
getColor
in interface MindMapLine
public void setColor(java.awt.Color color)
public int getWidth()
getWidth
in interface MindMapLine
public int getRealWidth()
getRealWidth
in interface MindMapLine
public void setWidth(int width)
public java.lang.String getStyle()
getStyle
in interface MindMapLine
public void setStyle(java.lang.String style)
public java.lang.String toString()
toString
in interface MindMapLine
toString
in class java.lang.Object
public void setTarget(MindMapNode target)
MindMapLine
setTarget
in interface MindMapLine
public MindMapNode getTarget()
public java.lang.Object clone()
clone
in interface MindMapLine
clone
in class java.lang.Object
protected abstract void setStandardColor(java.awt.Color standardColor)
protected abstract java.awt.Color getStandardColor()
protected abstract void setStandardStyle(java.lang.String standardStyle)
protected abstract java.lang.String getStandardStyle()
protected abstract java.lang.String getStandardStylePropertyString()
protected abstract java.lang.String getStandardColorPropertyString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |