|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.widgetideas.table.client.CachedTableModel.CacheCallback
public class CachedTableModel.CacheCallback
A callback that retrieves data from the cache.
Constructor Summary | |
---|---|
CachedTableModel.CacheCallback(TableModel.Request request,
TableModel.Callback<R> callback,
int startRow,
int numRows)
Constructor. |
Method Summary | |
---|---|
void |
onFailure(java.lang.Throwable caught)
Called when an error occurs and the rows cannot be loaded. |
void |
onRowsReady(TableModel.Request request,
TableModel.Response<R> response)
Consume the data created by TableModel in response to a Request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedTableModel.CacheCallback(TableModel.Request request, TableModel.Callback<R> callback, int startRow, int numRows)
callback
- The actual callback from the requestorstartRow
- The actual first requested rownumRows
- The actual number of requested rowsMethod Detail |
---|
public void onFailure(java.lang.Throwable caught)
TableModel.Callback
onFailure
in interface TableModel.Callback<R>
caught
- the exception that was thrownpublic void onRowsReady(TableModel.Request request, TableModel.Response<R> response)
TableModel.Callback
TableModel
in response to a Request.
onRowsReady
in interface TableModel.Callback<R>
request
- the requestresponse
- the response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |