public class UpdateElementPositionCommand extends AbstractCanvasGraphCommand
| Modifier and Type | Field and Description |
|---|---|
protected Node<View<?>,Edge> |
element |
protected Double |
x |
protected Double |
y |
| Constructor and Description |
|---|
UpdateElementPositionCommand(Node<View<?>,Edge> element,
Double x,
Double y) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
allow, execute, getCanvasCommand, getGraphCommand, getNode, toString, undobuildResultprotected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected AbstractCanvasCommand newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.