public abstract class TreeBuilderNode
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
TreeBuilderNode(java.lang.Object userObject) |
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
children() |
void |
clear() |
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
int |
getIndex(javax.swing.tree.TreeNode node) |
protected abstract TreeBuilder |
getTreeBuilder() |
boolean |
isLeaf() |
java.util.Enumeration |
rawChildren() |
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
protected abstract TreeBuilder getTreeBuilder()
public void clear()
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class javax.swing.tree.DefaultMutableTreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
children
in class javax.swing.tree.DefaultMutableTreeNode
public java.util.Enumeration rawChildren()
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class javax.swing.tree.DefaultMutableTreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
getIndex
in class javax.swing.tree.DefaultMutableTreeNode