public class

OnAnnotationSelectedListenerAdapter

extends Object
implements AnnotationManager.OnAnnotationSelectedListener
java.lang.Object
   ↳ com.pspdfkit.ui.special_mode.manager.OnAnnotationSelectedListenerAdapter

Class Overview

Empty implementation of the AnnotationManager.OnAnnotationSelectedListener.

Summary

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

Public Constructors

public OnAnnotationSelectedListenerAdapter ()

Public Methods

public void onAnnotationSelected (Annotation annotation, boolean annotationCreated)

Called when annotation gets selected.

Parameters
annotation Annotation that is being selected.
annotationCreated true if selected annotation is being created in PageModeHandler.

public boolean onPrepareAnnotationSelection (AnnotationSelectionController controller, Annotation annotation, boolean annotationCreated)

Called immediately before annotation is going to be selected.

Parameters
controller Selection controller that is performing the selection.
annotation Annotation that is going to be selected.
annotationCreated True when annotation is
Returns