Package org.openpdf.rups.view.icons
Class IconTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.openpdf.rups.view.icons.IconTreeNode
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
- Direct Known Subclasses:
FormTreeNode,OutlineTreeNode,PdfObjectTreeNode,XdpTreeNode
A tree node with a specific icon.
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
ConstructorsConstructorDescriptionIconTreeNode(String icon) Constructs an IconTreeNode.IconTreeNode(String icon, Object userobject) Constructs an IconTreeNode. -
Method Summary
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
-
Field Details
-
icon
The icon that has to be used for this TreeNode.
-
-
Constructor Details
-
IconTreeNode
Constructs an IconTreeNode.- Parameters:
icon- the filename of the icon to use for this node.
-
IconTreeNode
Constructs an IconTreeNode.- Parameters:
icon- the filename of the icon to use for this node.userobject- the userobject for this node
-
-
Method Details
-
getIcon
Getter for the icon.- Returns:
- the icon
-