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

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

public class SortableGrid.ColumnSorterCallback
extends java.lang.Object

Callback that is called when the row sorting is complete.


Constructor Summary
SortableGrid.ColumnSorterCallback()
           
 
Method Summary
 void onSortingComplete()
          Trigger the callback, but do not change the ordering of the rows.
 void onSortingComplete(com.google.gwt.user.client.Element[] trElems)
          Set the order of all rows after a column sort request.
 void onSortingComplete(int[] trIndexes)
          Set the order of all rows after a column sort request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortableGrid.ColumnSorterCallback

public SortableGrid.ColumnSorterCallback()
Method Detail

onSortingComplete

public void onSortingComplete(int[] trIndexes)
Set the order of all rows after a column sort request. This method takes an array of the row indexes in this Grid, ordered according to their new positions in the Grid.

Parameters:
trIndexes - the row index in their new order

onSortingComplete

public void onSortingComplete(com.google.gwt.user.client.Element[] trElems)
Set the order of all rows after a column sort request. This method takes an array of the row elements in this Grid, ordered according to their new positions in the Grid.

Parameters:
trElems - the row elements in their new order

onSortingComplete

public void onSortingComplete()
Trigger the callback, but do not change the ordering of the rows. Use this method if your SortableGrid.ColumnSorter rearranges the columns manually.