com.metamatrix.console.ui.views
Class DefaultConsoleTableSorter

java.lang.Object
  extended by com.metamatrix.console.ui.views.DefaultConsoleTableSorter
All Implemented Interfaces:
TableSorter

public class DefaultConsoleTableSorter
extends java.lang.Object
implements TableSorter

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

Constructor Summary
DefaultConsoleTableSorter()
           
 
Method Summary
 int getInsertionIndex(java.util.List row, 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
static DefaultConsoleTableSorter getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConsoleTableSorter

public DefaultConsoleTableSorter()
Method Detail

getInstance

public static DefaultConsoleTableSorter getInstance()
Since:
Golden Gate

getInsertionIndex

public int getInsertionIndex(java.util.List row,
                             java.util.List rows,
                             java.util.List sortedRowMap,
                             java.util.List sortedColumns,
                             TableComparator comparator,
                             int maximumRowIndex)
Description copied from interface: TableSorter
determine where the specified row of the table belongs given the specified parameters

Specified by:
getInsertionIndex in interface TableSorter
Parameters:
row - the Vector of table row data currently being examined.
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.