Class OutlineTreeNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

    public class OutlineTreeNode
    extends IconTreeNode
    A node in the OutlineTree.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected PdfObjectTreeNode object_node
      The corresponding tree node in the PdfTree.
      private static long serialVersionUID
      A serial version uid
      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PdfObjectTreeNode getCorrespondingPdfObjectNode()
      Gets the node in the PdfTree that corresponds with this OutlineTreeNode.
      • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        A serial version uid
        See Also:
        Constant Field Values
      • object_node

        protected PdfObjectTreeNode object_node
        The corresponding tree node in the PdfTree.
    • Constructor Detail

      • OutlineTreeNode

        public OutlineTreeNode()
        Creates the root node for the OutlineTree.
      • OutlineTreeNode

        public OutlineTreeNode​(PdfObjectTreeNode node)
        Creates a node corresponding with a node in the PdfTree.
        Parameters:
        node - a corresponding node
    • Method Detail

      • getCorrespondingPdfObjectNode

        public PdfObjectTreeNode getCorrespondingPdfObjectNode()
        Gets the node in the PdfTree that corresponds with this OutlineTreeNode.
        Returns:
        a PdfObjectTreeNode in the PdfTree