| java.lang.Object | |
| ↳ | com.pspdfkit.ui.inspector.AbstractPropertyInspectorController |
Known Direct Subclasses
|
Abstract base class for all inspector controllers. Handles state restoration and
showing/hiding inspector with PropertyInspectorCoordinatorLayoutController.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AbstractPropertyInspectorController(Context context, PropertyInspectorCoordinatorLayoutController coordinatorController) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
hideInspector(boolean animate)
Hides inspector if it is shown.
| ||||||||||
| boolean | isInspectorVisible() | ||||||||||
| void |
onDisplayPropertyInspector(PropertyInspector inspector)
Called when
PropertyInspector is displayed in the PropertyInspectorCoordinatorLayout. | ||||||||||
| void |
onPreparePropertyInspector(PropertyInspector inspector)
Called when
PropertyInspector is prepared to be displayed in the
PropertyInspectorCoordinatorLayout. | ||||||||||
| void |
onRemovePropertyInspector(PropertyInspector inspector)
Called when
PropertyInspector is removed from the PropertyInspectorCoordinatorLayout. | ||||||||||
| void |
onRestoreInstanceState(Bundle savedState)
Restore property inspector state.
| ||||||||||
| void |
onSaveInstanceState(Bundle outState)
Save property inspector state.
| ||||||||||
| void |
showInspector(boolean animate)
Shows inspector if it was not shown yet.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
cancel()
Cancels inspector.
| ||||||||||
| Context | getContext() | ||||||||||
| PropertyInspectorCoordinatorLayoutController | getCoordinatorController() | ||||||||||
| PropertyInspector | getPropertyInspector() | ||||||||||
| boolean |
isBoundToController()
Called to test if inspector controller is bound to its editing controller.
| ||||||||||
| boolean | isRestoringState() | ||||||||||
| boolean |
onRestoreState()
Call this method when inspector controller is bound to its editing controller.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pspdfkit.ui.inspector.PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener
| |||||||||||
| context | The context. |
|---|---|
| coordinatorController | Controller managing inspector coordinator layout. |
Hides inspector if it is shown.
true when inspector is shown.
Called when PropertyInspector is displayed in the PropertyInspectorCoordinatorLayout.
| inspector | Property inspector that is displayed in the coordinator. |
|---|
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. |
|---|
Called when PropertyInspector is removed from the PropertyInspectorCoordinatorLayout.
| inspector | Property inspector that is removed from the coordinator. |
|---|
Shows inspector if it was not shown yet.
Cancels inspector.
Called to test if inspector controller is bound to its editing controller.
true while state restoration is in progress.
Call this method when inspector controller is bound to its editing controller.
true when inspector has been shown.