com.pdftron.pdf.tools.ToolManager.BasicAnnotationListener |
![]() |
This interface can be used to monitor basic annotation events such as selected/unselected.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onAnnotationSelected(Annot annot, int pageNum)
Called when an annotation has been selected.
| ||||||||||
abstract void |
onAnnotationUnselected()
Called when an annotation has been unselected.
| ||||||||||
abstract boolean |
onInterceptAnnotationHandling(Annot annot, Bundle extra, ToolManager.ToolMode toolMode)
Intercept tool's response to user actions (such as clicking on links,
clicking on form widget, or about to change annotation properties etc.)
If handled, tool will stop default logic.
| ||||||||||
abstract boolean |
onInterceptDialog(AlertDialog dialog)
This method is deprecated.
see
ToolManager.DialogListener
|
Called when an annotation has been selected.
annot | The selected annotation |
---|---|
pageNum | The page number where the annotation is on |
Called when an annotation has been unselected.
Intercept tool's response to user actions (such as clicking on links, clicking on form widget, or about to change annotation properties etc.) If handled, tool will stop default logic.
annot | annotation |
---|---|
extra | extra information |
toolMode | tool mode that handles annotation |
This method is deprecated.
see ToolManager.DialogListener
Intercept handling of dialog
dialog | the dialog about to show up |
---|