Class TranslationMessageLabelCommand

All Implemented Interfaces:
Command, CommonConstants, LscConstants

public class TranslationMessageLabelCommand
extends TranslationCommand
implements LscConstants
  • Constructor Details

  • Method Details

    • moveElements

      protected void moveElements​(int x, int y)
      Description copied from class: TranslationCommand
      Move elements by (x, y)
      Overrides:
      moveElements in class TranslationCommand
      Parameters:
      x - - The x value of the property name 'x'
      y - - The y value of the property name 'y'
    • move

      public void move​(int x, int y)
      Description copied from class: TranslationCommand
      Move elements by (x, y). 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.
      Overrides:
      move in class TranslationCommand
      Parameters:
      x - - The x value
      y - - The y value
    • doCancel

      protected void doCancel()
      Undo the translation. All elements are moved back to their original position. The translation can only be canceled as long as it has not been committed.
      Overrides:
      doCancel in class TranslationCommand
    • doExecute

      protected void doExecute()
      Overrides:
      doExecute in class TranslationCommand
    • doUndo

      protected void doUndo()
      Overrides:
      doUndo in class TranslationCommand
    • updateF

      public void updateF()