com.pspdfkit.ui.special_mode.manager.AnnotationManager.OnAnnotationSelectedListener |
![]() |
Listener for annotation selection.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onAnnotationSelected(Annotation annotation, boolean annotationCreated)
Called when annotation gets selected.
| ||||||||||
abstract boolean |
onPrepareAnnotationSelection(AnnotationSelectionController controller, Annotation annotation, boolean annotationCreated)
Called immediately before annotation is going to be selected.
|
Called when annotation gets selected.
annotation | Annotation that is being selected. |
---|---|
annotationCreated | true if selected annotation is being created in PageModeHandler.
|
Called immediately before annotation is going to be selected.
controller | Selection controller that is performing the selection. |
---|---|
annotation | Annotation that is going to be selected. |
annotationCreated | True when annotation is |
AnnotationSelectionController
to proceed with selection. Returning false will prevent annotation from being
selected.