edu.ucsb.nceas.morpho.util
Class SortTableCommand

java.lang.Object
  |
  +--edu.ucsb.nceas.morpho.util.SortTableCommand

public class SortTableCommand
extends java.lang.Object
implements Command

Class to handle sorting table command


Constructor Summary
SortTableCommand(javax.swing.JTable myTable, int myIndex, java.lang.String myOrder)
          Constructor of SortableCommand
 
Method Summary
 void execute(java.awt.event.ActionEvent event)
          execute sort table command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortTableCommand

public SortTableCommand(javax.swing.JTable myTable,
                        int myIndex,
                        java.lang.String myOrder)
Constructor of SortableCommand
Parameters:
myTable - the table need to be sorted
myIndex - the index of column in the table need to be sorted
myOrder - the order need to be sorted
Method Detail

execute

public void execute(java.awt.event.ActionEvent event)
execute sort table command
Specified by:
execute in interface Command


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.