| com.pdftron.pdf.utils.ToolbarActionMode.Callback |
Callback interface to be invoked when an interaction is needed (see android.view.ActionMode.Callback).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
onActionItemClicked(ToolbarActionMode mode, MenuItem item)
Called to report a user click on an action button.
| ||||||||||
| abstract boolean |
onCreateActionMode(ToolbarActionMode mode, Menu menu)
Called when a toolbar action mode is first created.
| ||||||||||
| abstract void |
onDestroyActionMode(ToolbarActionMode mode)
Called when a toolbar action mode is about to be exited and destroyed.
| ||||||||||
| abstract boolean |
onPrepareActionMode(ToolbarActionMode mode, Menu menu)
Called to refresh a toolbar action mode's action menu whenever it is invalidated.
| ||||||||||
Called to report a user click on an action button.
| mode | The current toolbar action mode |
|---|---|
| item | The menu item that was clicked |
Called when a toolbar action mode is first created. The menu supplied will be used to generate action buttons for the action mode.
| mode | The toolbar action mode being created |
|---|---|
| menu | The menu used to populate action buttons |
Called when a toolbar action mode is about to be exited and destroyed.
| mode | The current toolbar action mode being destroyed |
|---|
Called to refresh a toolbar action mode's action menu whenever it is invalidated.
| mode | The toolbar action mode being prepared |
|---|---|
| menu | The menu used to populate action buttons |