Class MoveElementCommand

  • All Implemented Interfaces:
    java.io.Serializable, Command

    public class MoveElementCommand
    extends java.lang.Object
    implements Command
    Author:
    Narcis Marcu (narcism@users.sourceforge.net)
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      void redo()  
      void undo()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MoveElementCommand

        public MoveElementCommand​(JRBaseElement receiver,
                                  int x)
    • Method Detail

      • execute

        public void execute()
        Specified by:
        execute in interface Command
      • undo

        public void undo()
        Specified by:
        undo in interface Command
      • redo

        public void redo()
        Specified by:
        redo in interface Command