info.aduna.clustermap.action
Class TreeSortAction
java.lang.Object
javax.swing.AbstractAction
info.aduna.clustermap.action.TreeSortAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- TreeSortNameAction, TreeSortOriginalOrderAction, TreeSortSizeAction
public abstract class TreeSortAction
- extends AbstractAction
Abstract super class of Actions that let the user sort the siblings of a tree
node in a ClassTree.
- See Also:
- Serialized Form
| 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 |
TreeSortAction
public TreeSortAction(String name,
Icon icon,
ClassTree tree)
actionPerformed
public void actionPerformed(ActionEvent e)
sort
public abstract void sort(DefaultMutableTreeNode[] nodes,
ClassTree originatingTree)
- Sort the specified array of tree nodes according to some criterion.
Copyright © 1997-2008 Aduna. All Rights Reserved.