freemind.modes
Class CloudAdapter
java.lang.Object
freemind.modes.LineAdapter
freemind.modes.CloudAdapter
- All Implemented Interfaces:
- MindMapCloud, MindMapLine, java.lang.Cloneable
- Direct Known Subclasses:
- BrowseCloudModel, MindMapCloudModel
public abstract class CloudAdapter
- extends LineAdapter
- implements MindMapCloud
Methods inherited from class freemind.modes.LineAdapter |
clone, getColor, getFrame, getRealWidth, getStyle, getTarget, getWidth, setColor, setStyle, setWidth, toString, updateStandards |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RESOURCES_STANDARDCLOUDSTYLE
public static final java.lang.String RESOURCES_STANDARDCLOUDSTYLE
- See Also:
- Constant Field Values
CloudAdapter
public CloudAdapter(MindMapNode target,
FreeMindMain frame)
setTarget
public void setTarget(MindMapNode target)
- Description copied from interface:
MindMapLine
- The node to which this line is associated.
- Specified by:
setTarget
in interface MindMapLine
- Overrides:
setTarget
in class LineAdapter
getExteriorColor
public java.awt.Color getExteriorColor()
- Description copied from interface:
MindMapCloud
- Describes the color of the exterior of the cloud. Normally, this color is derived from the interior color.
- Specified by:
getExteriorColor
in interface MindMapCloud
getIterativeLevel
public int getIterativeLevel()
- gets iterative level which is required for painting and layout.
- Specified by:
getIterativeLevel
in interface MindMapCloud
changeIterativeLevel
public void changeIterativeLevel(int deltaLevel)
- changes the iterative level.
- Specified by:
changeIterativeLevel
in interface MindMapCloud
save
public XMLElement save()
- Specified by:
save
in interface MindMapCloud
getStandardColor
protected java.awt.Color getStandardColor()
- Description copied from class:
LineAdapter
- See @see setStandardColor
- Specified by:
getStandardColor
in class LineAdapter
setStandardColor
protected void setStandardColor(java.awt.Color standardColor)
- Description copied from class:
LineAdapter
- As this color is static but used in at least three different
objects (edges, clouds and links), the abstract mechanism was chosen.
The derived classes set and get the static instance variable.
- Specified by:
setStandardColor
in class LineAdapter
getStandardStyle
protected java.lang.String getStandardStyle()
- Specified by:
getStandardStyle
in class LineAdapter
setStandardStyle
protected void setStandardStyle(java.lang.String standardStyle)
- Specified by:
setStandardStyle
in class LineAdapter
getStandardColorPropertyString
protected java.lang.String getStandardColorPropertyString()
- Specified by:
getStandardColorPropertyString
in class LineAdapter
getStandardStylePropertyString
protected java.lang.String getStandardStylePropertyString()
- Specified by:
getStandardStylePropertyString
in class LineAdapter