Class DefaultContentEditingInspectorController.ContentEditingPropertyInspector
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback
,android.view.KeyEvent.Callback
,android.view.View.OnClickListener
,android.view.ViewManager
,android.view.ViewParent
,android.view.accessibility.AccessibilityEventSource
,com.pspdfkit.internal.views.inspector.bottomsheet.BottomSheetContentViewInterface
,com.pspdfkit.ui.inspector.PropertyInspectorController
,com.pspdfkit.ui.inspector.PropertyInspectorTitleButtonListener
public class DefaultContentEditingInspectorController.ContentEditingPropertyInspector extends PropertyInspector
-
-
Constructor Summary
Constructors Constructor Description DefaultContentEditingInspectorController.ContentEditingPropertyInspector(Context context)
-
Method Summary
Modifier and Type Method Description boolean
wasClosedByBackButton()
boolean
wasClosedByCloseButton()
void
reset()
Resets inspector to its initial state. boolean
onCloseButtonClicked()
Handles the close-button click on the inspectore title. boolean
onBackButtonClicked()
Handles the back-button click on the inspector title. -
-
Constructor Detail
-
DefaultContentEditingInspectorController.ContentEditingPropertyInspector
DefaultContentEditingInspectorController.ContentEditingPropertyInspector(Context context)
-
-
Method Detail
-
wasClosedByBackButton
boolean wasClosedByBackButton()
-
wasClosedByCloseButton
boolean wasClosedByCloseButton()
-
reset
void reset()
Resets inspector to its initial state.
-
onCloseButtonClicked
boolean onCloseButtonClicked()
Handles the close-button click on the inspectore title. Checks if either an active detail view consumes it or we have a custom title button listener set. The default implementation closes the inspector.
- Returns:
true
if the click has been consumed, otherwisefalse
-
onBackButtonClicked
boolean onBackButtonClicked()
Handles the back-button click on the inspector title. Checks if either an active detail view consumes it or we have a custom title button listener set. The default implementation just hides the detail view.
- Returns:
true
if the click has been consumed, otherwisefalse
-
-
-
-