|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.data.AbstractRemoteDataSource.RequestRowsCallback<T>
public static class AbstractRemoteDataSource.RequestRowsCallback<T>
Callback used by
AbstractRemoteDataSource.requestRows(int, int, RequestRowsCallback)
to pass data to the underlying implementation when data has been fetched.
| Constructor Summary | |
|---|---|
protected |
AbstractRemoteDataSource.RequestRowsCallback(AbstractRemoteDataSource<T> source,
com.vaadin.shared.ui.grid.Range requestedRange)
Creates a new callback |
| Method Summary | |
|---|---|
com.vaadin.shared.ui.grid.Range |
getRequestedRange()
Gets the range of rows that was requested. |
void |
onResponse(java.util.List<T> rowData,
int totalSize)
Called by the AbstractRemoteDataSource.requestRows(int, int, RequestRowsCallback)
implementation when data has been received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractRemoteDataSource.RequestRowsCallback(AbstractRemoteDataSource<T> source,
com.vaadin.shared.ui.grid.Range requestedRange)
source - the data source for which the request is maderequestedRange - the requested row range| Method Detail |
|---|
public void onResponse(java.util.List<T> rowData,
int totalSize)
AbstractRemoteDataSource.requestRows(int, int, RequestRowsCallback)
implementation when data has been received.
rowData - a list of row objects starting at the requested offsettotalSize - the total number of rows available at the remote endpublic com.vaadin.shared.ui.grid.Range getRequestedRange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||