public class

TextSelectionToolbar

extends ContextualToolbar<T extends SpecialModeController>
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.TextSelectionToolbar

Class Overview

Toolbar displayed on text selection.

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
TextSelectionToolbar(Context context)
TextSelectionToolbar(Context context, AttributeSet attrs)
TextSelectionToolbar(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
void bindController(TextSelectionController controller)
Binds controller for managing text selection mode.
void unbindController()
Unbinds controller for managing text selection 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

Public Constructors

public TextSelectionToolbar (Context context)

public TextSelectionToolbar (Context context, AttributeSet attrs)

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

Public Methods

public void bindController (TextSelectionController controller)

Binds controller for managing text selection mode.

Parameters
controller Text selection controller provided when entering text selection mode.

public void unbindController ()

Unbinds controller for managing text selection mode.

Protected Methods

protected void handleMenuItemClick (ContextualToolbarMenuItem item)