Class OutlineNode

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

    public class OutlineNode
    extends javax.swing.tree.DefaultMutableTreeNode
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String title  
      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

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

      Constructors 
      Constructor Description
      OutlineNode​(java.lang.String title)
      Create a new outline node
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PDFAction getAction()
      Get the PDF action associated with this node
      void setAction​(PDFAction action)
      Set the PDF action associated with this node
      java.lang.String toString()
      Return the node's visible name in the tree
      • 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
      • Methods inherited from class java.lang.Object

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

      • title

        private java.lang.String title
    • Constructor Detail

      • OutlineNode

        public OutlineNode​(java.lang.String title)
        Create a new outline node
        Parameters:
        title - the node's visible name in the tree
    • Method Detail

      • getAction

        public PDFAction getAction()
        Get the PDF action associated with this node
      • setAction

        public void setAction​(PDFAction action)
        Set the PDF action associated with this node
      • toString

        public java.lang.String toString()
        Return the node's visible name in the tree
        Overrides:
        toString in class javax.swing.tree.DefaultMutableTreeNode