com.tensegrity.gui.swing.control.tree
Class SwingObjectTreePanel.SortAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bycom.tensegrity.gui.swing.control.tree.SwingObjectTreePanel.SortAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
SwingObjectTreePanel

protected class SwingObjectTreePanel.SortAction
extends javax.swing.AbstractAction

Action class for sorting. Use the ascending flag to specify direction.

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
SwingObjectTreePanel.SortAction(java.lang.String name, boolean ascending)
          Constructor for SortAction.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
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

SwingObjectTreePanel.SortAction

public SwingObjectTreePanel.SortAction(java.lang.String name,
                                       boolean ascending)
Constructor for SortAction.

Parameters:
name - Name for this action.
ascending - flag to indicate the sorting order.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.