java.lang.Object | ||
↳ | com.pspdfkit.ui.inspector.AbstractPropertyInspectorController | |
↳ | com.pspdfkit.ui.inspector.annotation.DefaultAnnotationCreationInspectorController |
Controller for annotation creation inspector. Meant to be used with AnnotationCreationController
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DefaultAnnotationCreationInspectorController(Context context, PropertyInspectorCoordinatorLayoutController coordinatorController) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
bindAnnotationCreationController(AnnotationCreationController controller)
Binds controller for managing annotation creation mode.
| ||||||||||
AnnotationCreationController |
getAnnotationCreationController()
Returns
AnnotationCreationController we are currently bound to. | ||||||||||
boolean |
hasAnnotationInspector()
Whether annotation inspector toolbar icon should be visible.
| ||||||||||
void |
hideAnnotationInspector(boolean animate)
Hides annotation inspector.
| ||||||||||
boolean |
isAnnotationInspectorVisible()
Check if inspector is currently displayed.
| ||||||||||
void |
onPreparePropertyInspector(PropertyInspector inspector)
Called when
PropertyInspector is prepared to be displayed in the PropertyInspectorCoordinatorLayout . | ||||||||||
void |
showAnnotationInspector(boolean animate)
Show annotation inspector.
| ||||||||||
void |
toggleAnnotationInspector(boolean animate)
Toggles between shown/hidden state of the annotation inspector.
| ||||||||||
void |
unbindAnnotationCreationController()
Unbinds controller for managing annotation creation mode.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
isBoundToController()
Called to test if inspector controller is bound to its editing controller.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
context | The context. |
---|---|
coordinatorController | Controller managing inspector coordinator layout. |
Binds controller for managing annotation creation mode.
controller | Annotation creation mode controller provided when entering annotation creation mode. |
---|
Returns AnnotationCreationController
we are currently bound to.
Whether annotation inspector toolbar icon should be visible.
true
if the inspector toolbar icon should be visible, false
otherwise.
Hides annotation inspector.
animate | Whether to animate the change. |
---|
Check if inspector is currently displayed.
Called when PropertyInspector
is prepared to be displayed in the PropertyInspectorCoordinatorLayout
. Here you can change the inspector views.
inspector | Property inspector prepared for displaying in the coordinator. |
---|
Show annotation inspector.
animate | Whether to animate the change. |
---|
Toggles between shown/hidden state of the annotation inspector.
animate | Whether to animate the change. |
---|
Unbinds controller for managing annotation creation mode.
Called to test if inspector controller is bound to its editing controller.