
T - the data type of records in the listpublic abstract class AsyncDataProvider<T> extends AbstractDataProvider<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AsyncDataProvider()
Constructs an AsyncDataProvider without a key provider.
|
protected |
AsyncDataProvider(ProvidesKey<T> keyProvider)
Constructs an AsyncDataProvider with the given key provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
updateRowCount(int size,
boolean exact)
Inform the displays of the total number of items that are available.
|
void |
updateRowData(int start,
List<T> values)
Inform the displays of the new data.
|
addDataDisplay, getDataDisplays, getKey, getKeyProvider, getRanges, onRangeChanged, removeDataDisplay, updateRowDataprotected AsyncDataProvider()
protected AsyncDataProvider(ProvidesKey<T> keyProvider)
keyProvider - an instance of ProvidesKeypublic void updateRowCount(int size,
boolean exact)
AbstractDataProviderupdateRowCount in class AbstractDataProvider<T>size - the new total row countexact - true if the count is exact, false if it is an estimatepublic void updateRowData(int start,
List<T> values)
AbstractDataProviderupdateRowData in class AbstractDataProvider<T>start - the start indexvalues - the data valuesCopyright © 2018. All rights reserved.