org.arakhne.neteditor.android.actionmode.creation
public abstract class AbstractRectangularDecorationCreationMode extends AbstractAndroidCreationMode
AbstractAndroidCreationMode.ActionBarcursorChanged| Constructor and Description |
|---|
AbstractRectangularDecorationCreationMode()
Construct a new AbstractRectangularDecorationCreationMode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanMode() |
protected abstract DecorationFigure |
createFigure(UUID viewId,
Rectangle2f bounds)
Create the object according to the given bounds.
|
protected abstract Shape2f |
getShape(Rectangle2f bounds)
Replies a shape that is representing the figure to create.
|
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 AbstractRectangularDecorationCreationMode()
ActionModeManager should be
set before using this object.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 Shape2f getShape(Rectangle2f bounds)
bounds - protected abstract DecorationFigure createFigure(UUID viewId, Rectangle2f bounds)
viewId - is the identifier of the view.bounds - 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