| java.lang.Object | |
| ↳ | com.pspdfkit.ui.special_mode.manager.OnAnnotationSelectedListenerAdapter |
Empty implementation of the AnnotationManager.OnAnnotationSelectedListener.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OnAnnotationSelectedListenerAdapter() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
onAnnotationSelected(Annotation annotation, boolean annotationCreated)
Called when annotation gets selected.
| ||||||||||
| boolean |
onPrepareAnnotationSelection(AnnotationSelectionController controller, Annotation annotation, boolean annotationCreated)
Called immediately before annotation is going to be selected.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pspdfkit.ui.special_mode.manager.AnnotationManager.OnAnnotationSelectedListener
| |||||||||||
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.