freemind.modes.filemode

Class FileNodeModel

Implemented Interfaces:
MindMapNode, MutableTreeNode

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.

Field Summary

Fields inherited from class freemind.modes.NodeAdapter

children, cloud, color, folded, font, icons, style, underlined, userObject

Fields inherited from interface freemind.modes.MindMapNode

STYLE_BUBBLE, STYLE_FORK

Constructor Summary

FileNodeModel(File file, FreeMindMain frame)

Method Summary

ListIterator
childrenFolded()
ListIterator
childrenUnfolded()
Color
getColor()
This could be a nice feature.
String
getLink()
String
getStyle()
A Node-Style like MindMapNode.STYLE_FORK or MindMapNode.STYLE_BUBBLE
boolean
hasChildren()
boolean
isLeaf()
String
toString()

Methods inherited from class freemind.modes.NodeAdapter

addIcon, basicCopy, children, childrenFolded, childrenUnfolded, estabilishOwnFont, getAllowsChildren, getChildAt, getChildCount, getChildPosition, getCloud, getColor, getEdge, getFont, getFontFamilyName, getFontSize, getFrame, getIcons, getIndex, getLink, getNodeLevel, getParent, getParentNode, getPath, getPreferredChild, getStyle, getViewer, hasChildren, hasFoldedStrictDescendant, insert, isBold, isDescendantOf, isFolded, isItalic, isLeaf, isLeft, isRoot, isUnderlined, remove, remove, removeFromParent, removeLastIcon, setBold, setCloud, setColor, setEdge, setFolded, setFont, setFontSize, setItalic, setLeft, setLink, setParent, setParent, setPreferredChild, setStyle, setUnderlined, setUserObject, setViewer, shallowCopy, toString, toggleBold, toggleItalic

Constructor Details

FileNodeModel

public FileNodeModel(File file,
                     FreeMindMain frame)

Method Details

childrenFolded

public ListIterator childrenFolded()
Specified by:
childrenFolded in interface MindMapNode
Overrides:
childrenFolded in interface NodeAdapter

childrenUnfolded

public ListIterator childrenUnfolded()
Specified by:
childrenUnfolded in interface MindMapNode
Overrides:
childrenUnfolded in interface NodeAdapter

getColor

public Color getColor()
This could be a nice feature. Improve it!
Specified by:
getColor in interface MindMapNode
Overrides:
getColor in interface NodeAdapter

getLink

public String getLink()
Specified by:
getLink in interface MindMapNode
Overrides:
getLink in interface NodeAdapter

getStyle

public String getStyle()
A Node-Style like MindMapNode.STYLE_FORK or MindMapNode.STYLE_BUBBLE
Specified by:
getStyle in interface MindMapNode
Overrides:
getStyle in interface NodeAdapter

hasChildren

public boolean hasChildren()
Specified by:
hasChildren in interface MindMapNode
Overrides:
hasChildren in interface NodeAdapter

isLeaf

public boolean isLeaf()
Overrides:
isLeaf in interface NodeAdapter

toString

public String toString()
Specified by:
toString in interface MindMapNode
Overrides:
toString in interface NodeAdapter