| com.pspdfkit.ui.special_mode.controller.AnnotationEditingController |
Default controller given when entering annotation editing mode. Used to control annotation editing mode actions.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
bindAnnotationInspectorController(AnnotationInspectorController annotationInspectorController)
Binds to the annotation inspector controller for managing annotation inspector.
| ||||||||||
| abstract void |
deleteCurrentlySelectedAnnotation()
Deletes currently selected annotation from the document.
| ||||||||||
| abstract AnnotationManager |
getAnnotationManager()
Returns an annotation manager which you can use to register listeners from the controller.
| ||||||||||
| abstract PdfConfiguration |
getConfiguration()
Returns an active configuration.
| ||||||||||
| abstract Annotation |
getCurrentlySelectedAnnotation()
Returns currently edited annotation (if any).
| ||||||||||
| abstract void |
saveCurrentlySelectedAnnotation()
Saves currently selected annotation to the document.
| ||||||||||
| abstract boolean |
shouldDisplayPicker()
Whether annotation inspector toolbar icon should be visible.
| ||||||||||
| abstract void |
showAnnotationEditor(Annotation annotation)
Shows annotation editor for the passed annotation.
| ||||||||||
| abstract void |
startRecording()
Starts recording the edits.
| ||||||||||
| abstract void |
stopRecording()
Stops recording the edits, notifies the result and clears current record,
so calling
startRecording() will start from clean state. | ||||||||||
| abstract void |
toggleAnnotationInspector()
Displays/hides an annotation inspector for the selected annotation.
| ||||||||||
| abstract void |
unbindAnnotationInspectorController()
Unbinds from previously bound annotation inspector controller.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pspdfkit.ui.special_mode.controller.base.FragmentSpecialModeController
| |||||||||||
From interface
com.pspdfkit.ui.special_mode.controller.base.SpecialModeController
| |||||||||||
Binds to the annotation inspector controller for managing annotation inspector.
| annotationInspectorController | Controller for managing annotation inspector. |
|---|
Deletes currently selected annotation from the document.
Returns an annotation manager which you can use to register listeners from the controller.
Returns an active configuration.
Returns currently edited annotation (if any).
null if none currently edited.
Saves currently selected annotation to the document.
Whether annotation inspector toolbar icon should be visible.
Shows annotation editor for the passed annotation.
| annotation | Annotation for which to show the editor. |
|---|
Starts recording the edits.
Stops recording the edits, notifies the result and clears current record,
so calling startRecording() will start from clean state.
Displays/hides an annotation inspector for the selected annotation.
Unbinds from previously bound annotation inspector controller.