Class OutlineNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.loboevolution.pdfview.OutlineNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class OutlineNode extends DefaultMutableTreeNode

OutlineNode class.

See Also:
  • Constructor Details

    • OutlineNode

      public OutlineNode(String title)
      Create a new outline node
      Parameters:
      title - the node's visible name in the tree
  • Method Details

    • getAction

      public PDFAction getAction()
      Get the PDF action associated with this node
      Returns:
      a PDFAction object.
    • setAction

      public void setAction(PDFAction action)
      Set the PDF action associated with this node
      Parameters:
      action - a PDFAction object.
    • toString

      public String toString()

      Return the node's visible name in the tree

      Overrides:
      toString in class DefaultMutableTreeNode