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 @see 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, updateStandardsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getColor, getRealWidth, getStyle, getWidth, toStringpublic static final java.lang.String RESOURCES_STANDARDCLOUDSTYLE
public CloudAdapter(MindMapNode target, FreeMindMain frame)
public void setTarget(MindMapNode target)
MindMapLinesetTarget in interface MindMapLinesetTarget in class LineAdapterpublic java.awt.Color getExteriorColor()
MindMapCloudgetExteriorColor in interface MindMapCloudpublic int getIterativeLevel()
getIterativeLevel in interface MindMapCloudpublic void changeIterativeLevel(int deltaLevel)
changeIterativeLevel in interface MindMapCloudpublic XMLElement save()
save in interface MindMapCloudprotected java.awt.Color getStandardColor()
LineAdaptergetStandardColor in class LineAdapterprotected void setStandardColor(java.awt.Color standardColor)
LineAdaptersetStandardColor in class LineAdapterprotected java.lang.String getStandardStyle()
getStandardStyle in class LineAdapterprotected void setStandardStyle(java.lang.String standardStyle)
setStandardStyle in class LineAdapterprotected java.lang.String getStandardColorPropertyString()
getStandardColorPropertyString in class LineAdapterprotected java.lang.String getStandardStylePropertyString()
getStandardStylePropertyString in class LineAdapter