Package com.sun.pdfview
Class OutlineNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.sun.pdfview.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
-
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 nodevoid
setAction(PDFAction action)
Set the PDF action associated with this nodejava.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
-
-
-
-
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 classjavax.swing.tree.DefaultMutableTreeNode
-
-