csheets.ui.ctrl
Class SortAction
java.lang.Object
javax.swing.AbstractAction
csheets.ui.ctrl.BaseAction
csheets.ui.ctrl.FocusOwnerAction
csheets.ui.ctrl.SortAction
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
public class SortAction
- extends FocusOwnerAction
A sorting operation.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
|
Constructor Summary |
SortAction()
Creates a new sorting action. |
SortAction
public SortAction()
- Creates a new sorting action.
getName
protected String getName()
- Description copied from class:
BaseAction
- Returns the action's name.
- Specified by:
getName in class BaseAction
- Returns:
- the action's name, which is used as short description and action command
defineProperties
protected void defineProperties()
- Description copied from class:
BaseAction
- Defines the action's properties.
- Overrides:
defineProperties in class BaseAction
actionPerformed
public void actionPerformed(ActionEvent event)
- Lets the user choose the criteria for sorting.
- Parameters:
event - the event that was fired