public class TaxonomyBrowser.TaxonomyNode
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
TaxonomyNode(TaxonomyBrowser browser,
TaxonomyNodeObject tn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
defineChildNodes()
Download the children of this node from the server.
|
int |
getChildCount()
Get the number of children of this node.
|
TaxonomyNodeObject |
getNode()
Get the taxonomy node object associated with this tree node
|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public TaxonomyNode(TaxonomyBrowser browser, TaxonomyNodeObject tn)
tn
- the taxonomy node object for this tree nodepublic int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class javax.swing.tree.DefaultMutableTreeNode
protected void defineChildNodes()
public TaxonomyNodeObject getNode()