public class TranslationXCommand extends TranslationCommand
elements, xd, yd
commandManager, committed
version
Constructor and Description |
---|
TranslationXCommand(CommandManager commandManager,
ArrayList<Element> elements)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
move(int x)
Move elements by (x, 0).
|
doCancel, doExecute, doUndo, getModifiedElement, move, moveElements
cancel, commit, execute, undo
getVersion, setVersion
public TranslationXCommand(CommandManager commandManager, ArrayList<Element> elements)
commandManager
- - The command managerelements
- - The array list for the elementsCopyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.