public class UpdateElementPositionCommand extends AbstractCanvasGraphCommand
| Modifier and Type | Field and Description |
|---|---|
protected Node<View<?>,Edge> |
element |
protected Point2D |
location |
| Constructor and Description |
|---|
UpdateElementPositionCommand(Node<View<?>,Edge> element,
Point2D location) |
| Modifier and Type | Method and Description |
|---|---|
Node<View<?>,Edge> |
getElement() |
Point2D |
getLocation() |
protected AbstractCanvasCommand |
newCanvasCommand(AbstractCanvasHandler context)
Creates a new command instance for the canvas context.
|
protected Command<GraphCommandExecutionContext,RuleViolation> |
newGraphCommand(AbstractCanvasHandler context)
Creates a new command instance for the graph context.
|
String |
toString() |
allow, execute, getCanvasCommand, getGraphCommand, getNode, undobuildResult, checkShapeNotNull, toUUID, toUUIDsprotected final Point2D location
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected AbstractCanvasCommand newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandpublic Point2D getLocation()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.