|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode
This represents an node in an outline in a pdf document.
| Constructor Summary | |
PDOutlineNode()
Default Constructor. |
|
PDOutlineNode(COSDictionary dict)
Default Constructor. |
|
| Method Summary | |
void |
appendChild(PDOutlineItem outlineNode)
append a child node to this node. |
void |
closeNode()
Close this node. |
COSDictionary |
getCOSDictionary()
Convert this standard java object to a COS object. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
PDOutlineItem |
getFirstChild()
Return the first child or null if there is no child. |
PDOutlineItem |
getLastChild()
Return the last child or null if there is no child. |
int |
getOpenCount()
Get the number of open nodes. |
PDOutlineNode |
getParent()
Get the parent of this object. |
boolean |
isNodeOpen()
Node is open if the open count is greater than zero. |
void |
openNode()
This will set this node to be open when it is shown in the viewer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDOutlineNode()
public PDOutlineNode(COSDictionary dict)
dict - The dictionary storage.| Method Detail |
public COSBase getCOSObject()
getCOSObject in interface COSObjectablepublic COSDictionary getCOSDictionary()
public PDOutlineNode getParent()
public void appendChild(PDOutlineItem outlineNode)
outlineNode - The node to add.public PDOutlineItem getFirstChild()
public PDOutlineItem getLastChild()
public int getOpenCount()
public void openNode()
public void closeNode()
public boolean isNodeOpen()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||