net.sf.jasperreports.crosstabs.interactive

## Class SortByColumnCommand

- java.lang.Object
- - net.sf.jasperreports.crosstabs.interactive.SortByColumnCommand

- All Implemented Interfaces:
    Command

      public class SortByColumnCommand
      extends java.lang.Object
      implements Command

  Version:
    $Id: SortByColumnCommand.java 6467 2013-09-02 16:10:18Z lucianc $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SortByColumnCommand(JasperReportsContext jasperReportsContext, JRDesignCrosstab crosstab, SortByColumnData sortData)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute()`
    `void` | `redo()`
    `protected void` | `setOrder()`
    `void` | `undo()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SortByColumnCommand

          public SortByColumnCommand(JasperReportsContext jasperReportsContext,
                             JRDesignCrosstab crosstab,
                             SortByColumnData sortData)

  - ### Method Detail

    - #### execute

          public void execute()
                       throws CommandException

      Specified by:
        `execute` in interface `Command`
      Throws:
        `CommandException`

    - #### setOrder

          protected void setOrder()

    - #### 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