public class FileNodeModel extends NodeAdapter
backgroundColor, children, cloud, folded, font, HGAP, icons, LEFT_POSITION, logger, RIGHT_POSITION, stateIcons, style, underlined, UNKNOWN_POSITION, userObject, VGAP
NODE_STYLES, STYLE_AS_PARENT, STYLE_BUBBLE, STYLE_COMBINED, STYLE_FORK
Constructor and Description |
---|
FileNodeModel(java.io.File file,
FreeMindMain frame,
MindMap map) |
Modifier and Type | Method and Description |
---|---|
java.util.ListIterator |
childrenFolded() |
java.util.ListIterator |
childrenUnfolded() |
java.awt.Color |
getColor()
This could be a nice feature.
|
java.lang.String |
getLink() |
java.lang.String |
getStyle()
A Node-Style like MindMapNode.STYLE_FORK or MindMapNode.STYLE_BUBBLE
|
java.lang.String |
getText() |
boolean |
hasChildren() |
boolean |
isLeaf() |
boolean |
isWriteable()
Some nodes can't get new children or have other changes (encrypted nodes for example).
|
java.lang.String |
toString() |
acceptViewVisitor, addHook, addIcon, addTreeModelListener, addViewer, calcShiftY, children, createAttributeTableModel, establishOwnFont, getActivatedHooks, getAdditionalInfo, getAllowsChildren, getAttribute, getAttribute, getAttributeKeyList, getAttributePosition, getAttributes, getAttributeTableLength, getBackgroundColor, getChildAt, getChildCount, getChildPosition, getChildren, getCloud, getEdge, getFilterInfo, getFont, getFontFamilyName, getFontSize, getFrame, getHGap, getHistoryInformation, getHooks, getIcons, getIndex, getListeners, getMap, getModeController, getNodeLevel, getNoteText, getObjectId, getParent, getParentNode, getPath, getPlainTextContent, getShiftY, getShortText, getStateIcons, getToolTip, getVGap, getViewers, getXmlNoteText, getXmlText, hasFoldedStrictDescendant, hasOneVisibleChild, hasStyle, insert, invokeHook, isBold, isDescendantOf, isFolded, isItalic, isLeft, isNewChildLeft, isRoot, isUnderlined, isVisible, remove, remove, removeFromParent, removeHook, removeIcon, removeTreeModelListener, removeViewer, save, setAdditionalInfo, setAttribute, setBackgroundColor, setBold, setCloud, setColor, setEdge, setFolded, setFont, setFontSize, setHGap, setHistoryInformation, setItalic, setLeft, setLink, setMap, setNoteText, setParent, setParent, setShiftY, setStateIcon, setStyle, setText, setToolTip, setUnderlined, setUserObject, setVGap, setXmlNoteText, setXmlText, shallowCopy, toggleBold, toggleItalic
public FileNodeModel(java.io.File file, FreeMindMain frame, MindMap map)
public java.lang.String getStyle()
NodeAdapter
getStyle
in interface MindMapNode
getStyle
in class NodeAdapter
public java.awt.Color getColor()
getColor
in interface MindMapNode
getColor
in class NodeAdapter
public java.lang.String toString()
toString
in interface MindMapNode
toString
in class NodeAdapter
public java.lang.String getText()
getText
in interface MindMapNode
getText
in class NodeAdapter
public boolean hasChildren()
hasChildren
in interface MindMapNode
hasChildren
in class NodeAdapter
public java.util.ListIterator childrenFolded()
childrenFolded
in interface MindMapNode
childrenFolded
in class NodeAdapter
public java.util.ListIterator childrenUnfolded()
childrenUnfolded
in interface MindMapNode
childrenUnfolded
in class NodeAdapter
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class NodeAdapter
public java.lang.String getLink()
getLink
in interface MindMapNode
getLink
in class NodeAdapter
public boolean isWriteable()
MindMapNode