| Modifier and Type | Method and Description |
|---|---|
Bookmark |
Bookmark.createNewChild(Page page,
java.lang.String title)
Deprecated.
|
Bookmark |
Bookmark.createNewChild(java.lang.String title)
Create a new bookmark and add to a parent as the last child bookmark, using supplied string as the initial text.
|
Bookmark |
Bookmark.createNewSibling(java.lang.String title)
Create a new bookmark in a tree as the next (right) sibling, using supplied string as the initial text.
|
Bookmark |
Document.findBookmark(java.lang.String title)
Find bookmark by its title, searching within the document's entire bookmark tree.
|
Bookmark |
Document.findBookmark(java.lang.String title,
int maxDepth)
Find bookmark by its title, searching within the document's bookmark tree to a depth determined by maxDepth (e.g., 0 = root bookmark only and not any of its children, 1 = search one level below root bookmark level, etc.
|
Bookmark |
Bookmark.findDescendentBookmark(java.lang.String title)
Find bookmark by its title within the subtree of which this bookmark is the root, searching within the entire subtree.
|
Bookmark |
Bookmark.findDescendentBookmark(java.lang.String title,
int maxDepth)
Find bookmark by its title within the subtree of which this bookmark is the root, searching within the subtree to a depth determined by maxDepth (e.g., 0 = this bookmark only and not any of its children, 1 = search one level below this bookmark level, etc.)
|
Bookmark |
Document.getBookmarkRoot()
Gets the root of the document's bookmark tree.
|
Bookmark |
Bookmark.getFirstChild()
Gets a bookmark's first child.
|
Bookmark |
Bookmark.getLastChild()
Gets a bookmark's last child.
|
Bookmark |
Bookmark.getNext()
Gets a bookmark's next (right) sibling.
|
Bookmark |
Bookmark.getParent()
Gets a bookmark's parent.
|
Bookmark |
Bookmark.getPrevious()
Gets a bookmark's previous (left) sibling.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Bookmark.addChild(Bookmark child)
Add an existing bookmark to be the child bookmark of a parent.
|
void |
Bookmark.addNextSibling(Bookmark NewRightSibling)
Add a bookmark to a tree as the next (right) sibling.
|
void |
Bookmark.addPreviousSibling(Bookmark NewLeftSibling)
Add a bookmark to a tree as the previous (left) sibling.
|
void |
Bookmark.addSubtree(Bookmark subtree,
java.lang.String title)
Add a copy of a subtree as the new last child of a parent bookmark, and gives the subtree an initial title.
|