com.pspdfkit.ui.inspector.PropertyInspectorCoordinatorLayoutController |
![]() |
An interface to be implemented by PropertyInspectorCoordinatorLayout
through which other
components can control the property inspector coordinator layout.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener | Listener for the lifecycle of the PropertyInspector as it goes through the PropertyInspectorCoordinatorLayout . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addPropertyInspectorLifecycleListener(PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener lifecycleListener)
Adds the listener for lifecycle changes of the
PropertyInspector as it goes through
the PropertyInspectorCoordinatorLayout - preparing, displaying, removing. | ||||||||||
abstract boolean |
hideInspector(boolean animate)
Removes active inspector if visible.
| ||||||||||
abstract boolean |
isInspectorVisible(PropertyInspector inspector)
Tests if
inspector is currently active in coordinator. | ||||||||||
abstract boolean |
isInspectorVisible()
Tests if coordinator has any active inspector currently visible.
| ||||||||||
abstract void |
removePropertyInspectorLifecycleListener(PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener lifecycleListener)
Removes previously registered listener for lifecycle changes of the
PropertyInspector
as it goes through the PropertyInspectorCoordinatorLayout - preparing, displaying,
removing. | ||||||||||
abstract void |
setBottomInset(int bottomInset)
Sets bottom inset for displayed
PropertyInspector s. | ||||||||||
abstract boolean |
showInspector(PropertyInspector propertyInspector, boolean animate)
Displays property inspector.
|
Adds the listener for lifecycle changes of the PropertyInspector
as it goes through
the PropertyInspectorCoordinatorLayout
- preparing, displaying, removing. If the
listener has already been added previously, this method will be a no-op. Adding null
is not allowed, and will result in an exception.
lifecycleListener | PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener that should be notified.
Must be non-null. |
---|
Removes active inspector if visible.
animate | Whether to animate the change. |
---|
Tests if inspector
is currently active in coordinator.
inspector | Inspector instance. |
---|
inspector
is currently active in coordinator layout.
Tests if coordinator has any active inspector currently visible.
Removes previously registered listener for lifecycle changes of the PropertyInspector
as it goes through the PropertyInspectorCoordinatorLayout
- preparing, displaying,
removing. Upon calling this method the listener
will no longer be notified of any
changes. If the listener has not been added, this method will be a no-op. Adding null
is not allowed,and will result in an exception.
lifecycleListener | PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener that should be removed.
Must be non-null. |
---|
Sets bottom inset for displayed PropertyInspector
s. This will be added on top of
standard immersive mode insets.
Displays property inspector. This replaces previous displayed inspector.
propertyInspector | Inspector instance to show. |
---|---|
animate | Whether to animate the change. |