com.google.gwt.view.client
Class AsyncListViewAdapter<T>
java.lang.Object
com.google.gwt.view.client.AbstractListViewAdapter<T>
com.google.gwt.view.client.AsyncListViewAdapter<T>
- Type Parameters:
T - the data type of records in the list
- All Implemented Interfaces:
- ProvidesKey<T>
public abstract class AsyncListViewAdapter<T>
- extends AbstractListViewAdapter<T>
An implementation of AbstractListViewAdapter that allows the data to be
modified.
Note: This class is new and its interface subject to change.
|
Method Summary |
void |
updateDataSize(int size,
boolean exact)
Inform the views of the total number of items that are available. |
void |
updateViewData(int start,
int length,
java.util.List<T> values)
Inform the views of the new data. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncListViewAdapter
public AsyncListViewAdapter()
updateDataSize
public void updateDataSize(int size,
boolean exact)
- Inform the views of the total number of items that are available.
- Parameters:
size - the new sizeexact - true if the size is exact, false if it is a guess
updateViewData
public void updateViewData(int start,
int length,
java.util.List<T> values)
- Inform the views of the new data.
- Parameters:
start - the start indexlength - the length of the datavalues - the data values