public class TranslationXCommand extends TranslationCommand
elements, xd, ydcommandManager, committedversion| 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, moveElementscancel, commit, execute, undogetVersion, setVersionpublic 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.