| java.lang.Object | |
| ↳ | com.pspdfkit.document.OutlineElement |
A document outline element (or "table of contents entry"), usually the header of a chapter.
Outline elements can be retrieved via getOutline(). They can carry
an Action and thus allow quick navigation to document pages, or even external resources.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | DEFAULT_COLOR | Default transparent color indicates no color is defined. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| Action |
getAction()
Returns action be run when clicking on this bookmark.
| ||||||||||
| List<OutlineElement> |
getChildren()
Returns bookmark children - bookmarks are organized in a tree-like fashion.
| ||||||||||
| int |
getColor()
Returns bookmark color.
| ||||||||||
| String |
getPageLabel()
Page label of target page if one exists and Action in
getAction()
is a go to page action. | ||||||||||
| int |
getStyle()
Returns bookmark text style.
| ||||||||||
| String |
getTitle()
Returns bookmark title.
| ||||||||||
| int | hashCode() | ||||||||||
| boolean |
isExpanded()
Returns whether the outline element is expanded or not.
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Default transparent color indicates no color is defined.
Returns action be run when clicking on this bookmark.
null.
Returns bookmark children - bookmarks are organized in a tree-like fashion.
Returns bookmark color.
Page label of target page if one exists and Action in getAction()
is a go to page action.
null otherwise
Returns bookmark text style.
Typeface class constants: NORMAL, BOLD, ITALIC or BOLD_ITALIC
Returns whether the outline element is expanded or not.
true if the outline element is expanded, false otherwise.