com.metamatrix.toolbox.ui.widget.table
Interface TableSorter

All Known Implementing Classes:
DefaultConsoleTableSorter, DefaultTableSorter

public interface TableSorter

Since:
Golden Gate
Version:
Golden Gate
Author:
John P. A. Verhaeg

Method Summary
 int getInsertionIndex(java.util.List rowDataVector, java.util.List rows, java.util.List sortedRowMap, java.util.List sortedColumns, TableComparator comparator, int maximumRowIndex)
          determine where the specified row of the table belongs given the specified parameters
 

Method Detail

getInsertionIndex

int getInsertionIndex(java.util.List rowDataVector,
                      java.util.List rows,
                      java.util.List sortedRowMap,
                      java.util.List sortedColumns,
                      TableComparator comparator,
                      int maximumRowIndex)
determine where the specified row of the table belongs given the specified parameters

Parameters:
rowDataVector - the Vector of table row data currently being examined.
the - row index of this row in the real TableModel, which will not be modified.
rows - a List of table row Vectors that consists of the entire table.
sortedRowMap - the current ordered list of model row index values
Since:
Golden Gate


Copyright © 2009. All Rights Reserved.