com.google.gwt.widgetideas.table.client
Class SortableGrid.ColumnSorter

java.lang.Object
  extended by com.google.gwt.widgetideas.table.client.SortableGrid.ColumnSorter
Enclosing class:
SortableGrid

public abstract static class SortableGrid.ColumnSorter
extends java.lang.Object

The column sorter defines an algorithm to sort columns.


Constructor Summary
SortableGrid.ColumnSorter()
           
 
Method Summary
abstract  void onSortColumn(SortableGrid grid, TableModel.ColumnSortList sortList, SortableGrid.ColumnSorterCallback callback)
          Override this method to implement a custom column sorting algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortableGrid.ColumnSorter

public SortableGrid.ColumnSorter()
Method Detail

onSortColumn

public abstract void onSortColumn(SortableGrid grid,
                                  TableModel.ColumnSortList sortList,
                                  SortableGrid.ColumnSorterCallback callback)
Override this method to implement a custom column sorting algorithm.

Parameters:
grid - the grid that the sorting will be applied to
sortList - the list of columns to sort by
callback - the callback object when sorting is complete