public static interface

BookmarksTabLayout.BookmarksTabsListener

com.pdftron.pdf.controls.BookmarksTabLayout.BookmarksTabsListener
Known Indirect Subclasses

Class Overview

Callback interface to be invoked when an interaction is needed.

Summary

Public Methods
abstract void onAnnotationClicked(Annot annotation, int pageNum)
Called when an annotation has been clicked.
abstract void onEditBookmarkFocusChanged(boolean isActive)
Called when user bookmark's edittext gains or loses focus
abstract void onExportAnnotations(PDFDoc outputDoc)
Called when document annotations have been exported.
abstract void onOutlineClicked(Bookmark parent, Bookmark bookmark)
Callback interface invoked when an outline has been clicked
abstract void onUserBookmarkClick(int pageNum)
Called when a user bookmark has been clicked.

Public Methods

public abstract void onAnnotationClicked (Annot annotation, int pageNum)

Called when an annotation has been clicked.

Parameters
annotation The annotation
pageNum The page number that holds the annotation

public abstract void onEditBookmarkFocusChanged (boolean isActive)

Called when user bookmark's edittext gains or loses focus

Parameters
isActive EditText is in focus

public abstract void onExportAnnotations (PDFDoc outputDoc)

Called when document annotations have been exported.

Parameters
outputDoc The PDFDoc containing the exported annotations

public abstract void onOutlineClicked (Bookmark parent, Bookmark bookmark)

Callback interface invoked when an outline has been clicked

Parameters
parent The parent bookmark if any
bookmark The clicked bookmark

public abstract void onUserBookmarkClick (int pageNum)

Called when a user bookmark has been clicked.

Parameters
pageNum The page number