Interface AnnotationManager
-
- All Implemented Interfaces:
public interface AnnotationManager
Interface for objects that manage a list of annotation listener instances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
AnnotationManager.OnAnnotationSelectedListener
Listener for annotation selection.
public interface
AnnotationManager.OnAnnotationDeselectedListener
Listener for annotation deselection.
public interface
AnnotationManager.OnAnnotationCreationModeChangeListener
Listener for annotation creation mode enter/exit.
public interface
AnnotationManager.OnAnnotationCreationModeSettingsChangeListener
Listener for annotation creation mode settings changes.
public interface
AnnotationManager.OnAnnotationEditingModeChangeListener
Listener for annotation editing mode enter/exit.
-
Method Summary
-
-
Method Detail
-
addOnAnnotationSelectedListener
abstract void addOnAnnotationSelectedListener(@NonNull() AnnotationManager.OnAnnotationSelectedListener listener)
Register a OnAnnotationSelectedListener to get notified when annotation gets selected. If the provider has been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to register.
-
removeOnAnnotationSelectedListener
abstract void removeOnAnnotationSelectedListener(@NonNull() AnnotationManager.OnAnnotationSelectedListener listener)
Remove a previously registered OnAnnotationSelectedListener. If the provider hasn't been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to unregister.
-
addOnAnnotationDeselectedListener
abstract void addOnAnnotationDeselectedListener(@NonNull() AnnotationManager.OnAnnotationDeselectedListener listener)
Register a OnAnnotationDeselectedListener to get notified when annotation gets deselected. If the provider has been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to register.
-
removeOnAnnotationDeselectedListener
abstract void removeOnAnnotationDeselectedListener(@NonNull() AnnotationManager.OnAnnotationDeselectedListener listener)
Remove a previously registered OnAnnotationDeselectedListener. If the provider hasn't been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to unregister.
-
addOnAnnotationUpdatedListener
abstract void addOnAnnotationUpdatedListener(@NonNull() AnnotationProvider.OnAnnotationUpdatedListener listener)
Register a AnnotationProvider.OnAnnotationUpdatedListener to get notified when annotation gets updated. If the listener has been registered previously, this method will be a no-op.
Note: Listeners methods are dispatched on the main UI thread.
- Parameters:
listener
- Listener to register.
-
removeOnAnnotationUpdatedListener
abstract void removeOnAnnotationUpdatedListener(@NonNull() AnnotationProvider.OnAnnotationUpdatedListener listener)
Remove a previously registered AnnotationProvider.OnAnnotationUpdatedListener. If the listener hasn't been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to unregister.
-
addOnAnnotationCreationModeChangeListener
abstract void addOnAnnotationCreationModeChangeListener(@NonNull() AnnotationManager.OnAnnotationCreationModeChangeListener listener)
Register a OnAnnotationCreationModeChangeListener to get notified when annotation creation mode gets updated. If the provider has been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to register.
-
removeOnAnnotationCreationModeChangeListener
abstract void removeOnAnnotationCreationModeChangeListener(@NonNull() AnnotationManager.OnAnnotationCreationModeChangeListener listener)
Remove a previously registered OnAnnotationCreationModeChangeListener. If the provider hasn't been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to unregister.
-
addOnAnnotationCreationModeSettingsChangeListener
abstract void addOnAnnotationCreationModeSettingsChangeListener(@NonNull() AnnotationManager.OnAnnotationCreationModeSettingsChangeListener listener)
Register a OnAnnotationCreationModeSettingsChangeListener to get notified when annotation creation settings get updated. If the provider has been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to register.
-
removeOnAnnotationCreationModeSettingsChangeListener
abstract void removeOnAnnotationCreationModeSettingsChangeListener(@NonNull() AnnotationManager.OnAnnotationCreationModeSettingsChangeListener listener)
Remove a previously registered OnAnnotationCreationModeSettingsChangeListener. If the provider hasn't been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to unregister.
-
addOnAnnotationEditingModeChangeListener
abstract void addOnAnnotationEditingModeChangeListener(@NonNull() AnnotationManager.OnAnnotationEditingModeChangeListener listener)
Register a OnAnnotationEditingModeChangeListener to get notified when annotation editing mode gets updated. If the provider has been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to register.
-
removeOnAnnotationEditingModeChangeListener
abstract void removeOnAnnotationEditingModeChangeListener(@NonNull() AnnotationManager.OnAnnotationEditingModeChangeListener listener)
Remove a previously registered OnAnnotationEditingModeChangeListener. If the provider hasn't been registered previously, this method will be a no-op.
- Parameters:
listener
- Listener to unregister.
-
-
-
-