Package edu.harvard.hul.ois.jhove.viewer
Class RepTreeRoot
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- edu.harvard.hul.ois.jhove.viewer.RepTreeRoot
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class RepTreeRoot extends DefaultMutableTreeNode
This subclass of DefaultMutableTreeNode simply adds a method for constructing the tree. All nodes in the tree except for the root will be plain DefaultMutablereeNodes.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Constructor Description RepTreeRoot(RepInfo info, JhoveBase base)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndexOfChild(Object parent, Object child)Find the index of an object in its parent.-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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, toString
-
-