public class HDF5TreeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
HDF5TreeNode()
Creates a tree node that has no parent and no children,
but which allows children.
|
HDF5TreeNode(HDF5Object userObject)
Creates a tree node with no parent, no children, but which allows
children, and initializes it with the specified user object.
|
HDF5TreeNode(Object userObject,
boolean allowsChildren)
Creates a tree node with no parent, no children, initialized with the
specified user object, and that allows children only if specified.
|
Modifier and Type | Method and Description |
---|---|
void |
printTree()
Print the tree information starting this node
|
String |
toString()
Returns the result of sending
toString() to this node's
user object, or null if this node has no user object. |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, 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
public HDF5TreeNode()
public HDF5TreeNode(HDF5Object userObject)
public HDF5TreeNode(Object userObject, boolean allowsChildren)
public void printTree()
public String toString()
toString()
to this node's
user object, or null if this node has no user object.toString
in class DefaultMutableTreeNode
DefaultMutableTreeNode.getUserObject()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.