Class TranslationXCommand

All Implemented Interfaces:
Command

public class TranslationXCommand
extends TranslationCommand
Translates (in the geometrical meaning) a set of elements.
  • Constructor Details

  • Method Details

    • 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.