public class

BookmarkNode

extends Object
implements LayoutItemType
java.lang.Object
   ↳ com.pdftron.recyclertreeview.BookmarkNode

Summary

Constants
String PLACEHOLDER_TAG
Fields
public boolean mIsOpen
public boolean mIsSelected
Public Constructors
BookmarkNode(Bookmark bookmark)
BookmarkNode(PDFDoc pdfDoc, Bookmark bookmark)
Public Methods
BookmarkNode commitAdd(BookmarkNode parentBookmark)
Commit adding bookmark
BookmarkNode commitDelete()
BookmarkNode commitEditEntry()
BookmarkNode commitMoveToNewParent(BookmarkNode newParentNode)
Commit moving bookmark
BookmarkNode commitMoveToNext(BookmarkNode prevNode)
BookmarkNode commitMoveToPrev(BookmarkNode nextNode)
BookmarkNode commitOpen()
Bookmark getBookmark()
int getFontStyle()
int getLayoutId()
int getPageNumber()
String getTitle()
boolean isOpen()
BookmarkNode setOpen(boolean open)
BookmarkNode setPageNumber(int pageNumber)
BookmarkNode setTitle(String title)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pdftron.recyclertreeview.LayoutItemType

Constants

public static final String PLACEHOLDER_TAG

Constant Value: "PLACEHOLDER"

Fields

public boolean mIsOpen

public boolean mIsSelected

Public Constructors

public BookmarkNode (Bookmark bookmark)

public BookmarkNode (PDFDoc pdfDoc, Bookmark bookmark)

Public Methods

public BookmarkNode commitAdd (BookmarkNode parentBookmark)

Commit adding bookmark

Parameters
parentBookmark when null, bookmark is added as a root bookmark, otherwise it will be added as a child

public BookmarkNode commitDelete ()

public BookmarkNode commitEditEntry ()

public BookmarkNode commitMoveToNewParent (BookmarkNode newParentNode)

Commit moving bookmark

Parameters
newParentNode when null, bookmark is added as a root bookmark, otherwise it will be added as a child

public BookmarkNode commitMoveToNext (BookmarkNode prevNode)

public BookmarkNode commitMoveToPrev (BookmarkNode nextNode)

public BookmarkNode commitOpen ()

public Bookmark getBookmark ()

public int getFontStyle ()

public int getLayoutId ()

public int getPageNumber ()

public String getTitle ()

public boolean isOpen ()

public BookmarkNode setOpen (boolean open)

public BookmarkNode setPageNumber (int pageNumber)

public BookmarkNode setTitle (String title)