Package org.loboevolution.pdfview
Class OutlineNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.loboevolution.pdfview.OutlineNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
OutlineNode class.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
OutlineNode
Create a new outline node- Parameters:
title
- the node's visible name in the tree
-
-
Method Details
-
getAction
Get the PDF action associated with this node- Returns:
- a
PDFAction
object.
-
setAction
Set the PDF action associated with this node- Parameters:
action
- aPDFAction
object.
-
toString
Return the node's visible name in the tree
- Overrides:
toString
in classDefaultMutableTreeNode
-