freemind.modes
public abstract class NodeAdapter extends Object implements MindMapNode
| Field Summary | |
|---|---|
| protected List | children |
| protected MindMapCloud | cloud parameters of an eventually associated cloud |
| protected Color | color |
| protected boolean | folded |
| protected Font | font |
| protected Vector | icons stores the icons associated with this node. |
| protected String | style |
| protected boolean | underlined |
| protected Object | userObject |
| Constructor Summary | |
|---|---|
| protected | NodeAdapter(FreeMindMain frame) |
| protected | NodeAdapter(Object userObject, FreeMindMain frame) |
| Method Summary | |
|---|---|
| void | addIcon(MindIcon _icon) |
| protected MindMapNode | basicCopy() |
| Enumeration | children()
AFAIK there is no way to get an enumeration out of a linked list. |
| ListIterator | childrenFolded() |
| ListIterator | childrenUnfolded() |
| void | estabilishOwnFont() |
| boolean | getAllowsChildren() |
| TreeNode | getChildAt(int childIndex) |
| int | getChildCount() |
| int | getChildPosition(MindMapNode childNode) |
| MindMapCloud | getCloud() |
| Color | getColor() The Foreground/Font Color |
| MindMapEdge | getEdge() |
| Font | getFont() |
| String | getFontFamilyName() |
| String | getFontSize() |
| FreeMindMain | getFrame() |
| Vector | getIcons() |
| int | getIndex(TreeNode node) |
| String | getLink() |
| int | getNodeLevel() |
| TreeNode | getParent() |
| MindMapNode | getParentNode() |
| TreePath | getPath() Creates the TreePath recursively |
| MindMapNode | getPreferredChild() |
| String | getStyle() A Node-Style like MindMapNode.STYLE_FORK or MindMapNode.STYLE_BUBBLE |
| NodeView | getViewer() |
| boolean | hasChildren() |
| boolean | hasFoldedStrictDescendant()
True iff one of node's strict descendants is folded. |
| void | insert(MutableTreeNode child, int index) |
| boolean | isBold() |
| boolean | isDescendantOf(MindMapNode node)
Returns whether the argument is parent
or parent of one of the grandpa's of this node.
(transitive) |
| boolean | isFolded() |
| boolean | isItalic() |
| boolean | isLeaf() |
| Tools.BooleanHolder | isLeft() |
| boolean | isRoot() |
| boolean | isUnderlined() |
| void | remove(int index) |
| void | remove(MutableTreeNode node) |
| void | removeFromParent() |
| int | removeLastIcon() |
| void | setBold(boolean bold) |
| void | setCloud(MindMapCloud cloud) |
| void | setColor(Color color) |
| void | setEdge(MindMapEdge edge) |
| void | setFolded(boolean folded) |
| void | setFont(Font font) |
| void | setFontSize(int fontSize) |
| void | setItalic(boolean italic) |
| void | setLeft(boolean isLeft) |
| void | setLink(String link) |
| void | setParent(MutableTreeNode newParent) |
| void | setParent(MindMapNode newParent) |
| void | setPreferredChild(MindMapNode node) |
| void | setStyle(String style) |
| void | setUnderlined(boolean underlined) |
| void | setUserObject(Object object) |
| void | setViewer(NodeView viewer) |
| MindMapNode | shallowCopy() |
| void | toggleBold() |
| void | toggleItalic() |
| String | toString() |