|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.data.PagingModelMemoryProxy
public class PagingModelMemoryProxy
A specialized DataProxy the supports paging when the entire data
set is in memory.
| Constructor Summary | |
|---|---|
PagingModelMemoryProxy(java.util.List data)
|
|
| Method Summary | |
|---|---|
java.util.Comparator<java.lang.Object> |
getComparator()
Returns the comparator. |
java.util.List<? extends ModelData> |
getData()
Returns the data. |
void |
load(DataReader<PagingLoadResult<? extends ModelData>> reader,
java.lang.Object loadConfig,
com.google.gwt.user.client.rpc.AsyncCallback<PagingLoadResult<? extends ModelData>> callback)
Data should be retrieved using the specified load config. |
void |
setComparator(java.util.Comparator<java.lang.Object> comparator)
Sets the comparator used to sort the list of models (default to DefaultComparator). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PagingModelMemoryProxy(java.util.List data)
| Method Detail |
|---|
public java.util.Comparator<java.lang.Object> getComparator()
public java.util.List<? extends ModelData> getData()
public void load(DataReader<PagingLoadResult<? extends ModelData>> reader,
java.lang.Object loadConfig,
com.google.gwt.user.client.rpc.AsyncCallback<PagingLoadResult<? extends ModelData>> callback)
DataProxy
load in interface DataProxy<PagingLoadResult<? extends ModelData>>reader - the reader instanceloadConfig - the configcallback - the data callbackpublic void setComparator(java.util.Comparator<java.lang.Object> comparator)
comparator - the comparator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||