com.google.gwt.widgetideas.table.client
Class CachedTableController.CacheCallback

java.lang.Object
  extended by com.google.gwt.widgetideas.table.client.TableController.ControllableTableCallback
      extended by com.google.gwt.widgetideas.table.client.CachedTableController.CacheCallback
All Implemented Interfaces:
TableModel.Callback
Enclosing class:
CachedTableController

public class CachedTableController.CacheCallback
extends TableController.ControllableTableCallback

A callback that automatically updates a ControllableTable.


Constructor Summary
CachedTableController.CacheCallback(ControllableTable controllableTable, int firstRow, int lastRow)
          Constructor.
 
Method Summary
 void onRowsReady(TableModel.Request request, TableModel.Response response)
          Consume the data created by TableModel in response to a Request.
 
Methods inherited from class com.google.gwt.widgetideas.table.client.TableController.ControllableTableCallback
getControllableTable, onFailure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedTableController.CacheCallback

public CachedTableController.CacheCallback(ControllableTable controllableTable,
                                           int firstRow,
                                           int lastRow)
Constructor.

Parameters:
controllableTable - the ControllableTable instance
firstRow - the first row that was requested by the table
lastRow - the last row that was requested by the table
Method Detail

onRowsReady

public void onRowsReady(TableModel.Request request,
                        TableModel.Response response)
Description copied from interface: TableModel.Callback
Consume the data created by TableModel in response to a Request.

Specified by:
onRowsReady in interface TableModel.Callback
Overrides:
onRowsReady in class TableController.ControllableTableCallback
Parameters:
request - the request
response - the response
See Also:
TableModel.Callback