public static interface

AnnotationToolbar.AnnotationToolbarListener

com.pdftron.pdf.controls.AnnotationToolbar.AnnotationToolbarListener
Known Indirect Subclasses

Class Overview

Callback interface to be invoked when an interaction is needed.

Summary

Public Methods
abstract void onAnnotationToolbarClosed()
Called when the annotation toolbar has been closed.
abstract void onAnnotationToolbarShown()
Called when the annotation toolbar has been shown.
abstract void onShowAnnotationToolbarByShortcut(int mode)
The implementation should show the annotation toolbar starting with the certain mode.

Public Methods

public abstract void onAnnotationToolbarClosed ()

Called when the annotation toolbar has been closed.

public abstract void onAnnotationToolbarShown ()

Called when the annotation toolbar has been shown.

public abstract void onShowAnnotationToolbarByShortcut (int mode)

The implementation should show the annotation toolbar starting with the certain mode. The listener may do additional checks such as checking whether the document is read-only or has write access before showing the annotation toolbar.

Parameters
mode The mode that annotation toolbar should start with. Possible values are START_MODE_NORMAL_TOOLBAR, START_MODE_EDIT_TOOLBAR, START_MODE_FORM_TOOLBAR