freemind.modes
Interface MindMapNode
- All Superinterfaces:
- javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- All Known Implementing Classes:
- NodeAdapter
- public interface MindMapNode
- extends javax.swing.tree.MutableTreeNode
Methods inherited from interface javax.swing.tree.MutableTreeNode |
insert, remove, remove, removeFromParent, setParent, setUserObject |
Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
STYLE_BUBBLE
public static final java.lang.String STYLE_BUBBLE
- See Also:
- Constant Field Values
STYLE_FORK
public static final java.lang.String STYLE_FORK
- See Also:
- Constant Field Values
childrenFolded
public java.util.ListIterator childrenFolded()
childrenUnfolded
public java.util.ListIterator childrenUnfolded()
hasChildren
public boolean hasChildren()
getChildPosition
public int getChildPosition(MindMapNode childNode)
getPreferredChild
public MindMapNode getPreferredChild()
setPreferredChild
public void setPreferredChild(MindMapNode node)
getNodeLevel
public int getNodeLevel()
getLink
public java.lang.String getLink()
getEdge
public MindMapEdge getEdge()
getColor
public java.awt.Color getColor()
getStyle
public java.lang.String getStyle()
getParentNode
public MindMapNode getParentNode()
isBold
public boolean isBold()
isItalic
public boolean isItalic()
isUnderlined
public boolean isUnderlined()
getFont
public java.awt.Font getFont()
getFontSize
public java.lang.String getFontSize()
getFontFamilyName
public java.lang.String getFontFamilyName()
getViewer
public NodeView getViewer()
setViewer
public void setViewer(NodeView viewer)
toString
public java.lang.String toString()
getPath
public javax.swing.tree.TreePath getPath()
isDescendantOf
public boolean isDescendantOf(MindMapNode node)
isRoot
public boolean isRoot()
isFolded
public boolean isFolded()
setFolded
public void setFolded(boolean folded)
setFont
public void setFont(java.awt.Font font)
setLink
public void setLink(java.lang.String link)
setFontSize
public void setFontSize(int fontSize)
setColor
public void setColor(java.awt.Color color)
getIcons
public java.util.Vector getIcons()
addIcon
public void addIcon(MindIcon icon)
removeLastIcon
public int removeLastIcon()
shallowCopy
public MindMapNode shallowCopy()