public class OutlineNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
OutlineNode(String title)
Create a new outline node
|
Modifier and Type | Method and Description |
---|---|
PDFAction |
getAction()
Get the PDF action associated with this node
|
void |
setAction(PDFAction action)
Set the PDF action associated with this node
|
String |
toString()
Return the node's visible name in the tree
|
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
public OutlineNode(String title)
title
- the node's visible name in the treepublic PDFAction getAction()
public void setAction(PDFAction action)
public String toString()
toString
in class DefaultMutableTreeNode
Copyright © 2022. All rights reserved.