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.
|
Method Summary |
void |
move(int x)
Move elements by (x, 0). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslationXCommand
public TranslationXCommand(Document document,
ArrayList<Element> elements)
move
public void move(int x)
- Move elements by (x, 0). This method can be called repeatedly
as long as the translation has not been committed. The elements
are actually moved, so change events are propagated.
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.