ilog.cpl.table.action
Class IlpToggleSortingCriterion

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ilog.cpl.table.action.IlpToggleSortingCriterion
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class IlpToggleSortingCriterion
extends AbstractAction

This action sorts the contents of the table according to the value of the cells in the column where the event has occurred. The action manages a three state sorting for columns:

SHIFT modifier is used to perform sorting with multiple columns. CTRL modifier is used to perform sorting based on raw or displayed values.

This action expects to receive an IlpDefaultTableHeaderActionEvent.

Since:
JTGO 3.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
IlpToggleSortingCriterion()
          Creates a new toggle sorting action.
IlpToggleSortingCriterion(IlpTableView tableView, IlpAttribute attribute)
          Constructor
 
Method Summary
 void actionPerformed(ActionEvent ae)
          Execute this action.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpToggleSortingCriterion

public IlpToggleSortingCriterion()
Creates a new toggle sorting action.


IlpToggleSortingCriterion

public IlpToggleSortingCriterion(IlpTableView tableView,
                                 IlpAttribute attribute)
Constructor

Parameters:
tableView - Table view
attribute - Business attribute
Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
Execute this action.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.