Package com.pspdfkit.ui.toolbar
Class TextSelectionToolbar
-
- 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
public class TextSelectionToolbar extends ContextualToolbar<T>
Toolbar displayed on text selection.
-
-
Constructor Summary
Constructors Constructor Description TextSelectionToolbar(Context context)
TextSelectionToolbar(Context context, AttributeSet attrs)
TextSelectionToolbar(Context context, AttributeSet attrs, int defStyleAttr)
-
Method Summary
Modifier and Type Method Description void
bindController(@NonNull() TextSelectionController controller)
Binds controller for managing text selection mode. void
unbindController()
Unbinds controller for managing text selection mode. boolean
isControllerBound()
Returns true
if the controller is bound.-
-
Constructor Detail
-
TextSelectionToolbar
TextSelectionToolbar(Context context)
-
TextSelectionToolbar
TextSelectionToolbar(Context context, AttributeSet attrs)
-
TextSelectionToolbar
TextSelectionToolbar(Context context, AttributeSet attrs, int defStyleAttr)
-
-
Method Detail
-
bindController
void bindController(@NonNull() TextSelectionController controller)
Binds controller for managing text selection mode.
- Parameters:
controller
- Text selection controller provided when entering text selection mode.
-
unbindController
void unbindController()
Unbinds controller for managing text selection mode.
-
isControllerBound
boolean isControllerBound()
Returns
true
if the controller is bound.
-
-
-
-