public class AddAnchorCommand extends AbstractTransaction
Modifier and Type | Field and Description |
---|---|
protected InstanceLine |
anchor |
protected Condition |
element |
committed, document
version
Constructor and Description |
---|
AddAnchorCommand(Document document,
Element element)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addAnchor(InstanceLine anchor,
int x) |
protected void |
doCancel()
Undo the translation.
|
protected void |
doExecute() |
protected void |
doUndo() |
Element |
getModifiedElement() |
cancel, commit, execute, move, undo
getVersion, setVersion
protected Condition element
protected InstanceLine anchor
public void addAnchor(InstanceLine anchor, int x)
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.