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


Field Summary
static java.lang.String STYLE_BUBBLE
           
static java.lang.String STYLE_FORK
           
 
Method Summary
 void addIcon(MindIcon icon)
           
 java.util.ListIterator childrenFolded()
           
 java.util.ListIterator childrenUnfolded()
           
 int getChildPosition(MindMapNode childNode)
           
 java.awt.Color getColor()
           
 MindMapEdge getEdge()
           
 java.awt.Font getFont()
           
 java.lang.String getFontFamilyName()
           
 java.lang.String getFontSize()
           
 java.util.Vector getIcons()
           
 java.lang.String getLink()
           
 int getNodeLevel()
           
 MindMapNode getParentNode()
           
 javax.swing.tree.TreePath getPath()
           
 MindMapNode getPreferredChild()
           
 java.lang.String getStyle()
           
 NodeView getViewer()
           
 boolean hasChildren()
           
 boolean isBold()
           
 boolean isDescendantOf(MindMapNode node)
           
 boolean isFolded()
           
 boolean isItalic()
           
 boolean isRoot()
           
 boolean isUnderlined()
           
 int removeLastIcon()
           
 void setColor(java.awt.Color color)
           
 void setFolded(boolean folded)
           
 void setFont(java.awt.Font font)
           
 void setFontSize(int fontSize)
           
 void setLink(java.lang.String link)
           
 void setPreferredChild(MindMapNode node)
           
 void setViewer(NodeView viewer)
           
 MindMapNode shallowCopy()
           
 java.lang.String toString()
           
 
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
 

Field Detail

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
Method Detail

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()