public abstract class CloudAdapter extends LineAdapter implements MindMapCloud
Modifier and Type | Class and Description |
---|---|
protected static class |
CloudAdapter.CloudAdapterListener |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESOURCES_STANDARDCLOUDSTYLE |
color, DEFAULT_WIDTH, frame, NORMAL_WIDTH, style, target, width
Constructor and Description |
---|
CloudAdapter(MindMapNode target,
FreeMindMain frame) |
Modifier and Type | Method and Description |
---|---|
void |
changeIterativeLevel(int deltaLevel)
changes the iterative level.
|
java.awt.Color |
getExteriorColor()
Describes the color of the exterior of the cloud.
|
int |
getIterativeLevel()
gets iterative level which is required for painting and layout.
|
protected java.awt.Color |
getStandardColor()
See
LineAdapter.setStandardColor |
protected java.lang.String |
getStandardColorPropertyString() |
protected java.lang.String |
getStandardStyle() |
protected java.lang.String |
getStandardStylePropertyString() |
XMLElement |
save() |
protected 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 void |
setStandardStyle(java.lang.String standardStyle) |
void |
setTarget(MindMapNode target)
The node to which this line is associated.
|
clone, getColor, getFrame, getRealWidth, getStyle, getTarget, getWidth, setColor, setStyle, setWidth, toString, updateStandards
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getColor, getRealWidth, getStyle, getWidth, toString
public static final java.lang.String RESOURCES_STANDARDCLOUDSTYLE
public CloudAdapter(MindMapNode target, FreeMindMain frame)
public void setTarget(MindMapNode target)
MindMapLine
setTarget
in interface MindMapLine
setTarget
in class LineAdapter
public java.awt.Color getExteriorColor()
MindMapCloud
getExteriorColor
in interface MindMapCloud
public int getIterativeLevel()
getIterativeLevel
in interface MindMapCloud
public void changeIterativeLevel(int deltaLevel)
changeIterativeLevel
in interface MindMapCloud
public XMLElement save()
save
in interface MindMapCloud
protected java.awt.Color getStandardColor()
LineAdapter
LineAdapter.setStandardColor
getStandardColor
in class LineAdapter
protected void setStandardColor(java.awt.Color standardColor)
LineAdapter
setStandardColor
in class LineAdapter
protected java.lang.String getStandardStyle()
getStandardStyle
in class LineAdapter
protected void setStandardStyle(java.lang.String standardStyle)
setStandardStyle
in class LineAdapter
protected java.lang.String getStandardColorPropertyString()
getStandardColorPropertyString
in class LineAdapter
protected java.lang.String getStandardStylePropertyString()
getStandardStylePropertyString
in class LineAdapter