org.arakhne.neteditor.android.actionmode
public interface ActionModeOwner extends ActionModeManagerOwner<Figure,DroidViewGraphics2D,Color>, FigureActionModeManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ActionModeOwner.Callback
Callback for
selectFile(String, Class, Callback). |
| Modifier and Type | Method and Description |
|---|---|
android.content.Context |
getContext()
Replies the android context.
|
FigureFactory<?> |
getFigureFactory()
Replies the factory of figures.
|
Graph<?,?,?,?> |
getGraph()
Returns the graph.
|
void |
runOnUIThread(Runnable action)
Run the given action in the UI thread.
|
void |
selectFile(String mimeType,
Class<? extends FileFilter> fileFilter,
ActionModeOwner.Callback callback)
Open a file chooser to select a file of the given type
and run the callback.
|
android.view.ActionMode |
startActionBar(android.view.ActionMode.Callback listener)
Start the action bar with the given listener.
|
addFigure, copy, cut, fireError, getClickPrecision, getFigureAt, getFigureAt, getFigureCount, getFigureIn, getFigureOn, getFigures, getFiguresIn, getFiguresOn, getFigureWithBoundsAt, getModeManager, getSelectionBackground, getSelectionForeground, getSelectionManager, getUIComponent, getUndoManager, getZoomableContext, isAlwaysRemovingModelObjects, isEditable, isSelectionEnabled, paste, removeFigure, removeFigures, repaint, repaint, requestFocus, setCursoraddModeListener, addSelectableInteractionListener, getSelectionMode, removeModeListener, removeSelectableInteractionListener, setSelectionMode, startModeGraph<?,?,?,?> getGraph()
FigureFactory<?> getFigureFactory()
android.content.Context getContext()
android.view.ActionMode startActionBar(android.view.ActionMode.Callback listener)
listener - void runOnUIThread(Runnable action)
action - void selectFile(String mimeType, Class<? extends FileFilter> fileFilter, ActionModeOwner.Callback callback)
mimeType - is the mime type of the file to select.fileFilter - is the file filter to use.callback - is the object invoked when the file is selected.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