Class SimpleMoveColumnCommand

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

    public class SimpleMoveColumnCommand
    extends java.lang.Object
    implements Command
    Author:
    Teodor Danciu (teodord@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

      • SimpleMoveColumnCommand

        public SimpleMoveColumnCommand​(java.util.List<BaseColumn> columns,
                                       BaseColumn column,
                                       int srcColIndex,
                                       int destColIndex)
    • 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