public class

DocumentEditingToolbar

extends ContextualToolbar<T extends SpecialModeController>
implements DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.pspdfkit.ui.toolbar.ContextualToolbar<T extends com.pspdfkit.ui.special_mode.controller.base.SpecialModeController>
         ↳ com.pspdfkit.ui.toolbar.DocumentEditingToolbar

Class Overview

Toolbar for communication with document editing mode.

Summary

[Expand]
Inherited Constants
From class com.pspdfkit.ui.toolbar.ContextualToolbar
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class com.pspdfkit.ui.toolbar.ContextualToolbar
From class android.view.View
Public Constructors
DocumentEditingToolbar(Context context)
DocumentEditingToolbar(Context context, AttributeSet attrs)
DocumentEditingToolbar(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
void bindController(DocumentEditingController controller)
Binds controller for managing document editing mode.
void onDocumentEditingPageSelectionChanged(DocumentEditingController controller)
Called when the page selection changes on the document.
void unbindController()
Unbinds controller for managing document editing mode.
Protected Methods
void handleMenuItemClick(ContextualToolbarMenuItem item)
[Expand]
Inherited Methods
From class com.pspdfkit.ui.toolbar.ContextualToolbar
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnClickListener
From interface android.view.View.OnLongClickListener
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface com.pspdfkit.ui.special_mode.manager.DocumentEditingManager.OnDocumentEditingPageSelectionChangeListener

Public Constructors

public DocumentEditingToolbar (Context context)

public DocumentEditingToolbar (Context context, AttributeSet attrs)

public DocumentEditingToolbar (Context context, AttributeSet attrs, int defStyleAttr)

Public Methods

public void bindController (DocumentEditingController controller)

Binds controller for managing document editing mode.

Parameters
controller Document editing mode controller provided when entering document editing mode.

public void onDocumentEditingPageSelectionChanged (DocumentEditingController controller)

Called when the page selection changes on the document.

Parameters
controller Provided controller for managing document editing mode.

public void unbindController ()

Unbinds controller for managing document editing mode.

Protected Methods

protected void handleMenuItemClick (ContextualToolbarMenuItem item)