freemind.modes.filemode
Class FileNodeModel
java.lang.Object
freemind.modes.NodeAdapter
freemind.modes.filemode.FileNodeModel
- All Implemented Interfaces:
- MindMapNode, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- public class FileNodeModel
- extends NodeAdapter
This class represents a single Node of a Tree. It contains direct handles
to its parent and children and to its view.
Fields inherited from class freemind.modes.NodeAdapter |
backgroundColor, children, cloud, folded, font, HGAP, icons, logger, stateIcons, style, underlined, userObject, VGAP |
Methods inherited from class freemind.modes.NodeAdapter |
addHook, addIcon, basicCopy, calcShiftY, calcVGap, children, estabilishOwnFont, getActivatedHooks, getAdditionalInfo, getAllowsChildren, getBackgroundColor, getChildAt, getChildCount, getChildPosition, getCloud, getEdge, getFont, getFontFamilyName, getFontSize, getFrame, getHGap, getHistoryInformation, getHooks, getIcons, getIndex, getNodeLevel, getObjectId, getParent, getParentNode, getPath, getPreferredChild, getShiftY, getShortText, getStateIcons, getText, getToolTip, getVGap, getViewer, hasFoldedStrictDescendant, insert, invokeHook, isBold, isDescendantOf, isFolded, isItalic, isLeft, isOneLeftSideOfRoot, isRoot, isUnderlined, remove, remove, removeFromParent, removeHook, removeLastIcon, save, setAdditionalInfo, setBackgroundColor, setBold, setCloud, setColor, setEdge, setFolded, setFont, setFontSize, setHGap, setHistoryInformation, setItalic, setLeft, setLink, setParent, setParent, setPreferredChild, setShiftY, setStateIcon, setStyle, setText, setToolTip, setUnderlined, setUserObject, setVGap, setViewer, shallowCopy, toggleBold, toggleItalic |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileNodeModel
public FileNodeModel(java.io.File file,
FreeMindMain frame)
getStyle
public java.lang.String getStyle()
- Description copied from class:
NodeAdapter
- A Node-Style like MindMapNode.STYLE_FORK or MindMapNode.STYLE_BUBBLE
- Specified by:
getStyle
in interface MindMapNode
- Overrides:
getStyle
in class NodeAdapter
getColor
public java.awt.Color getColor()
- This could be a nice feature. Improve it!
- Specified by:
getColor
in interface MindMapNode
- Overrides:
getColor
in class NodeAdapter
toString
public java.lang.String toString()
- Specified by:
toString
in interface MindMapNode
- Overrides:
toString
in class NodeAdapter
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren
in interface MindMapNode
- Overrides:
hasChildren
in class NodeAdapter
childrenFolded
public java.util.ListIterator childrenFolded()
- Specified by:
childrenFolded
in interface MindMapNode
- Overrides:
childrenFolded
in class NodeAdapter
childrenUnfolded
public java.util.ListIterator childrenUnfolded()
- Specified by:
childrenUnfolded
in interface MindMapNode
- Overrides:
childrenUnfolded
in class NodeAdapter
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface javax.swing.tree.TreeNode
- Overrides:
isLeaf
in class NodeAdapter
getLink
public java.lang.String getLink()
- Specified by:
getLink
in interface MindMapNode
- Overrides:
getLink
in class NodeAdapter