public class InsertElementCommand extends AbstractTransaction
Modifier and Type | Field and Description |
---|---|
protected Node |
element |
protected Node |
parent |
protected Node |
position |
committed, document
version
Constructor and Description |
---|
InsertElementCommand(Node parent,
Node position,
Node element) |
Modifier and Type | Method and Description |
---|---|
protected void |
doCancel() |
protected void |
doExecute() |
protected void |
doUndo() |
Element |
getElement() |
Element |
getModifiedElement() |
void |
move(int x,
int y) |
cancel, commit, execute, undo
getVersion, setVersion
protected Node parent
protected Node element
protected Node position
public void move(int x, int y)
move
in class AbstractTransaction
public Element getElement()
protected void doCancel()
doCancel
in class AbstractTransaction
protected void doExecute()
doExecute
in class AbstractTransaction
protected void doUndo()
doUndo
in class AbstractTransaction
public Element getModifiedElement()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.