public class NameTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
| Constructor and Description |
|---|
NameTreeNode(org.icepdf.core.pobjects.NameNode item,
java.util.ResourceBundle messageBundle)
Creates a new instance of an OutlineItemTreeNode
|
NameTreeNode(org.icepdf.core.pobjects.StringObject name,
org.icepdf.core.pobjects.Reference ref) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChildCount() |
org.icepdf.core.pobjects.StringObject |
getName() |
org.icepdf.core.pobjects.Reference |
getReference() |
boolean |
isIntermidiatNode() |
boolean |
isLeaf() |
boolean |
isRootNode() |
void |
recursivelyClearOutlineItems() |
void |
setRootNode(boolean rootNode) |
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, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringpublic NameTreeNode(org.icepdf.core.pobjects.NameNode item,
java.util.ResourceBundle messageBundle)
item - Contains PDF Outline item datamessageBundle - ri root message bundle, localized node text.public NameTreeNode(org.icepdf.core.pobjects.StringObject name,
org.icepdf.core.pobjects.Reference ref)
public void recursivelyClearOutlineItems()
public org.icepdf.core.pobjects.StringObject getName()
public org.icepdf.core.pobjects.Reference getReference()
public boolean isRootNode()
public boolean isIntermidiatNode()
public boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeisLeaf in class javax.swing.tree.DefaultMutableTreeNodepublic void setRootNode(boolean rootNode)
public int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class javax.swing.tree.DefaultMutableTreeNode