Package com.pspdfkit.ui.toolbar
Class DocumentEditingToolbar
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback
,android.view.KeyEvent.Callback
,android.view.View.OnClickListener
,android.view.View.OnLongClickListener
,android.view.ViewManager
,android.view.ViewParent
,android.view.accessibility.AccessibilityEventSource
,com.pspdfkit.ui.special_mode.manager.DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener
public class DocumentEditingToolbar extends ContextualToolbar<T> implements DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener
Toolbar for communication with document editing mode.
-
-
Constructor Summary
Constructors Constructor Description DocumentEditingToolbar(Context context)
DocumentEditingToolbar(Context context, AttributeSet attrs)
DocumentEditingToolbar(Context context, AttributeSet attrs, int defStyleAttr)
-
Method Summary
Modifier and Type Method Description void
bindController(@NonNull() DocumentEditingController controller)
Binds controller for managing document editing mode. void
unbindController()
Unbinds controller for managing document editing mode. boolean
isControllerBound()
Returns true
if the controller is bound.void
onDocumentEditingPageSelectionChanged(@NonNull() DocumentEditingController controller)
Called when the page selection changes on the document. -
-
Constructor Detail
-
DocumentEditingToolbar
DocumentEditingToolbar(Context context)
-
DocumentEditingToolbar
DocumentEditingToolbar(Context context, AttributeSet attrs)
-
DocumentEditingToolbar
DocumentEditingToolbar(Context context, AttributeSet attrs, int defStyleAttr)
-
-
Method Detail
-
bindController
void bindController(@NonNull() DocumentEditingController controller)
Binds controller for managing document editing mode.
- Parameters:
controller
- Document editing mode controller provided when entering document editing mode.
-
unbindController
void unbindController()
Unbinds controller for managing document editing mode.
-
isControllerBound
boolean isControllerBound()
Returns
true
if the controller is bound.
-
onDocumentEditingPageSelectionChanged
void onDocumentEditingPageSelectionChanged(@NonNull() DocumentEditingController controller)
Called when the page selection changes on the document.
- Parameters:
controller
- Provided controller for managing document editing mode.
-
-
-
-