org.arakhne.neteditor.android.actionmode.base
class ResizeMode extends ActionMode<Figure,DroidViewGraphics2D,Color>
cursorChanged| Constructor and Description |
|---|
ResizeMode()
Construct a new ControlPointMoveMode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanMode() |
protected void |
onModeActivated() |
void |
paint(DroidViewGraphics2D g) |
void |
pointerDragged(ActionPointerEvent event) |
void |
pointerPressed(ActionPointerEvent event) |
(package private) void |
pointerPressed(ActionPointerEvent event,
Figure hitFigure)
Invoked to handle the POINTER_PRESSED event.
|
void |
pointerReleased(ActionPointerEvent event) |
void |
setResizingDirection(ResizeDirection direction)
Set the resizing direction.
|
canExit, createDelegation, createDelegation, done, forcePointerEvent, getClickPrecision, getInitialCursor, getModeManager, getModeManagerOwner, getPointedFigure, isExclusive, isPersistent, isPointerInFigureShape, keyPressed, keyReleased, keyTyped, onModeDesactivated, pointerClicked, pointerLongClicked, pointerMoved, repaint, repaint, requestFocus, restoreCursor, setCursor, setExclusive, setModeManager, setPersistentpublic ResizeMode()
ActionModeManager should be
set before using this object.protected void onModeActivated()
onModeActivated in class ActionMode<Figure,DroidViewGraphics2D,Color>public void setResizingDirection(ResizeDirection direction)
direction - public void paint(DroidViewGraphics2D g)
paint in class ActionMode<Figure,DroidViewGraphics2D,Color>public void cleanMode()
cleanMode in class ActionMode<Figure,DroidViewGraphics2D,Color>void pointerPressed(ActionPointerEvent event, Figure hitFigure)
event - is the description of the event.hitFigure - is the hit figure or null if unknown.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>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