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

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

public class SortableFixedWidthGrid.ColumnSorterCallback
extends java.lang.Object

Callback that is called when the row sorting is complete.


Constructor Summary
SortableFixedWidthGrid.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortableFixedWidthGrid.ColumnSorterCallback

public SortableFixedWidthGrid.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 SortableFixedWidthGrid.ColumnSorter rearranges the columns manually.