net.sf.jasperreports.components.headertoolbar.actions
Class SimpleMoveColumnCommand

java.lang.Object
  extended by net.sf.jasperreports.components.headertoolbar.actions.SimpleMoveColumnCommand
All Implemented Interfaces:
Command

public class SimpleMoveColumnCommand
extends java.lang.Object
implements Command

Version:
$Id: SimpleMoveColumnCommand.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
SimpleMoveColumnCommand(java.util.List<BaseColumn> columns, BaseColumn column, int srcColIndex, int destColIndex)
           
 
Method Summary
 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


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com