Package com.uppaal.model.core2.lsc
Class TranslationXCommand
- java.lang.Object
-
- com.uppaal.model.core2.AbstractCommand
-
- com.uppaal.model.core2.AbstractTransaction
-
- com.uppaal.model.core2.TranslationCommand
-
- com.uppaal.model.core2.lsc.TranslationXCommand
-
- All Implemented Interfaces:
Command
public class TranslationXCommand extends TranslationCommand
Translates (in the geometrical meaning) a set of elements.
-
-
Field Summary
-
Fields inherited from class com.uppaal.model.core2.TranslationCommand
elements, xd, yd
-
Fields inherited from class com.uppaal.model.core2.AbstractTransaction
commandManager, committed
-
Fields inherited from class com.uppaal.model.core2.AbstractCommand
version
-
-
Constructor Summary
Constructors Constructor Description TranslationXCommand(CommandManager commandManager, ArrayList<Element> elements)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
move(int x)
Move elements by (x, 0).-
Methods inherited from class com.uppaal.model.core2.TranslationCommand
doCancel, doExecute, doUndo, getModifiedElement, move, moveElements
-
Methods inherited from class com.uppaal.model.core2.AbstractTransaction
cancel, commit, execute, undo
-
Methods inherited from class com.uppaal.model.core2.AbstractCommand
getVersion, merge, setVersion
-
-
-
-
Constructor Detail
-
TranslationXCommand
public TranslationXCommand(CommandManager commandManager, ArrayList<Element> elements)
Constructor- Parameters:
commandManager
- - The command managerelements
- - The array list for the elements
-
-