com.pspdfkit.ui.inspector.PropertyInspectorView |
An interface to be implemented by views that can be added to PropertyInspector
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
bindController(PropertyInspectorController controller)
Bind to property inspector controller.
| ||||||||||
abstract int |
getPropertyInspectorMaxHeight()
Returns maximum height that this view with all its detail views will occupy.
| ||||||||||
abstract int |
getPropertyInspectorMinHeight()
Height of the parent
PropertyInspector that this view would like it to have. | ||||||||||
abstract int |
getSuggestedHeight()
Returns best height of this view when shown in inspector.
| ||||||||||
abstract View |
getView()
Casts the inspector view to the
View class and returns it. | ||||||||||
abstract boolean |
isViewStateRestorationEnabled()
Flag to determine whether to save the state by calling on the view the
saveHierarchyState(SparseArray to save its state and restoreHierarchyState(SparseArray to restore
it. | ||||||||||
abstract void |
onHidden()
Called when this inspector view was hidden.
| ||||||||||
abstract void |
onShown()
Called when this inspector view became visible.
| ||||||||||
abstract void |
unbindController()
Unbind from property inspector controller.
|
Bind to property inspector controller.
Returns maximum height that this view with all its detail views will occupy.
Height of the parent PropertyInspector
that this view would like it to have.
Returns best height of this view when shown in inspector. This is used to suggest initial height to inspector parent.
Flag to determine whether to save the state by calling on the view the saveHierarchyState(SparseArray
to save its state and restoreHierarchyState(SparseArray
to restore
it. Defaults to false
. When enabled, the view must implement View#onSaveInstanceState
and View#onRestoreInstanceState
, and a unique id must be
set by setId(int)
.
Called when this inspector view was hidden.
Called when this inspector view became visible.
Unbind from property inspector controller.