info.aduna.clustermap.action
Class TreeSortOriginalOrderAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.aduna.clustermap.action.TreeSortAction
          extended by info.aduna.clustermap.action.TreeSortOriginalOrderAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class TreeSortOriginalOrderAction
extends TreeSortAction

Can be used in a popup on a ClassTree to sort the children of the popup node, based on the original order of the Classifications in the Classification hierarchy.

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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
TreeSortOriginalOrderAction(ClassTree tree)
           
 
Method Summary
 void sort(DefaultMutableTreeNode[] nodes, ClassTree tree)
          Sort the specified array of tree nodes according to some criterion.
 
Methods inherited from class info.aduna.clustermap.action.TreeSortAction
actionPerformed
 
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

TreeSortOriginalOrderAction

public TreeSortOriginalOrderAction(ClassTree tree)
Method Detail

sort

public void sort(DefaultMutableTreeNode[] nodes,
                 ClassTree tree)
Description copied from class: TreeSortAction
Sort the specified array of tree nodes according to some criterion.

Specified by:
sort in class TreeSortAction


Copyright © 1997-2008 Aduna. All Rights Reserved.