public class MapDataSource<T> extends Object implements DataSource<T>, HasDataView<T>
DataSource
that supports infinite loading with categories.Constructor and Description |
---|
MapDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
add(Collection<T> list) |
boolean |
cacheData() |
void |
clear() |
DataView<T> |
getDataView() |
void |
load(LoadConfig<T> loadConfig,
LoadCallback<T> callback) |
void |
setDataView(DataView<T> dataView) |
boolean |
useRemoteSort() |
public MapDataSource()
public void load(LoadConfig<T> loadConfig, LoadCallback<T> callback)
load
in interface DataSource<T>
public void add(Collection<T> list)
public void clear()
public boolean cacheData()
public boolean useRemoteSort()
useRemoteSort
in interface DataSource<T>
public final void setDataView(DataView<T> dataView)
setDataView
in interface HasDataView<T>
public final DataView<T> getDataView()
getDataView
in interface HasDataView<T>
Copyright © 2018. All rights reserved.