Class ColumnSortEvent.AsyncHandler
- java.lang.Object
-
- com.google.gwt.user.cellview.client.ColumnSortEvent.AsyncHandler
-
- All Implemented Interfaces:
EventHandler
,ColumnSortEvent.Handler
- Enclosing class:
- ColumnSortEvent
public static class ColumnSortEvent.AsyncHandler extends java.lang.Object implements ColumnSortEvent.Handler
A default handler used with views attached to asynchronous data providers such asAsyncDataProvider
. This handler callsHasData.setVisibleRangeAndClearData(com.google.gwt.view.client.Range, boolean)
, which clears the current data and triggers the data provider's range change handler.
-
-
Constructor Summary
Constructors Constructor Description AsyncHandler(HasData<?> hasData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onColumnSort(ColumnSortEvent event)
Called whenColumnSortEvent
is fired.
-
-
-
Constructor Detail
-
AsyncHandler
public AsyncHandler(HasData<?> hasData)
-
-
Method Detail
-
onColumnSort
public void onColumnSort(ColumnSortEvent event)
Description copied from interface:ColumnSortEvent.Handler
Called whenColumnSortEvent
is fired.- Specified by:
onColumnSort
in interfaceColumnSortEvent.Handler
- Parameters:
event
- theColumnSortEvent
that was fired
-
-