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

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

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

The column sorter defines an algorithm to sort columns.


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

Constructor Detail

SortableFixedWidthGrid.ColumnSorter

public SortableFixedWidthGrid.ColumnSorter()
Method Detail

onSortColumn

public abstract void onSortColumn(SortableFixedWidthGrid grid,
                                  TableModel.ColumnSortList sortList,
                                  SortableFixedWidthGrid.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