org.arakhne.neteditor.android.actionmode.creation
protected class AbstractPolypointDecorationCreationMode.ActionBar extends AbstractAndroidCreationMode.ActionBar
| Modifier and Type | Field and Description |
|---|---|
protected android.view.MenuItem |
finalizationItem
Item that permits to finalize the polypoint object.
|
redoItem, undoItem| Constructor and Description |
|---|
AbstractPolypointDecorationCreationMode.ActionBar() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
onActionItemClicked(android.view.ActionMode mode,
android.view.MenuItem item)
Invoked each time the user click on an action button.
|
boolean |
onCreateActionMode(android.view.ActionMode mode,
android.view.Menu menu)
Invoked when the action mode is created, ie. when
startActionMode() was called. |
boolean |
onPrepareActionMode(android.view.ActionMode mode,
android.view.Menu menu)
Invoked each time the action mode is shown.
|
onDestroyActionMode, undoListChangedprotected android.view.MenuItem finalizationItem
public AbstractPolypointDecorationCreationMode.ActionBar()
public boolean onCreateActionMode(android.view.ActionMode mode,
android.view.Menu menu)
startActionMode() was called.onCreateActionMode in interface android.view.ActionMode.CallbackonCreateActionMode in class AbstractAndroidCreationMode.ActionBarmode - is the new action mode.menu - is the menu to populate with action buttons.true if the action mode should
be created, false if entering this mode
should be aborted.public boolean onPrepareActionMode(android.view.ActionMode mode,
android.view.Menu menu)
AbstractAndroidCreationMode.ActionBarAbstractAndroidCreationMode.ActionBar.onCreateActionMode(android.view.ActionMode, Menu), but
may be called multiple times if the mode is invalidated.onPrepareActionMode in interface android.view.ActionMode.CallbackonPrepareActionMode in class AbstractAndroidCreationMode.ActionBarmode - is the action mode to be prepared.menu - is the menu to populate with action buttons.true if the menu or action mode
was updated, false otherwise.public boolean onActionItemClicked(android.view.ActionMode mode,
android.view.MenuItem item)
AbstractAndroidCreationMode.ActionBaronActionItemClicked in interface android.view.ActionMode.CallbackonActionItemClicked in class AbstractAndroidCreationMode.ActionBarmode - is the action mode in which the click occurs.item - is the clicked action button.true if this callback handled the event,
false if the standard MenuItem invocation should continue.Copyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor