org.arakhne.neteditor.android.actionmode.creation
public abstract class AbstractEdgeCreationMode extends AbstractAndroidCreationMode
AbstractAndroidCreationMode.ActionBar| Modifier and Type | Field and Description |
|---|---|
static int |
CLICK_DISTANCE
Constant that is used to detect click on coordinates
|
cursorChanged| Constructor and Description |
|---|
AbstractEdgeCreationMode(int undoLabel)
Construct a new AbstractEdgeCreationMode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanMode() |
protected abstract Edge<?,?,?,?> |
createEdge()
Invoked to create an edge instance that is not already
connected to anchors.
|
protected void |
onModeActivated() |
void |
paint(DroidViewGraphics2D g) |
void |
pointerDragged(ActionPointerEvent event) |
void |
pointerPressed(ActionPointerEvent event) |
void |
pointerReleased(ActionPointerEvent event) |
closeActionBar, createActionBarListener, finish, getActionBar, getModeManager, getModeManagerOwner, onActionBarClosed, onActionBarOpened, onModeDesactivated, openActionBarcanExit, createDelegation, createDelegation, done, forcePointerEvent, getClickPrecision, getInitialCursor, getPointedFigure, isExclusive, isPersistent, isPointerInFigureShape, keyPressed, keyReleased, keyTyped, pointerClicked, pointerLongClicked, pointerMoved, repaint, repaint, requestFocus, restoreCursor, setCursor, setExclusive, setModeManager, setPersistentpublic static final int CLICK_DISTANCE
public AbstractEdgeCreationMode(int undoLabel)
ActionModeManager should be
set before using this object.undoLabel - protected void onModeActivated()
onModeActivated in class AbstractAndroidCreationModepublic void cleanMode()
cleanMode in class ActionMode<Figure,DroidViewGraphics2D,Color>public void paint(DroidViewGraphics2D g)
paint in class ActionMode<Figure,DroidViewGraphics2D,Color>public void pointerPressed(ActionPointerEvent event)
pointerPressed in class ActionMode<Figure,DroidViewGraphics2D,Color>public void pointerDragged(ActionPointerEvent event)
pointerDragged in class ActionMode<Figure,DroidViewGraphics2D,Color>public void pointerReleased(ActionPointerEvent event)
pointerReleased in class ActionMode<Figure,DroidViewGraphics2D,Color>protected abstract Edge<?,?,?,?> createEdge()
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