|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.data.MemoryProxy<D>
D - the data type being returned by the proxypublic class MemoryProxy<D>
A DataProxy implementation that simply passes the data specified
in the constructor to the reader when its load method is called.
| Constructor Summary | |
|---|---|
MemoryProxy(D data)
Creates new memory proxy. |
|
| Method Summary | |
|---|---|
D |
getData()
Returns the proxy data. |
void |
load(DataReader<D> reader,
java.lang.Object loadConfig,
com.google.gwt.user.client.rpc.AsyncCallback<D> callback)
Data should be retrieved using the specified load config. |
void |
setData(D data)
Sets the proxy data. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryProxy(D data)
data - the local data| Method Detail |
|---|
public D getData()
public void load(DataReader<D> reader,
java.lang.Object loadConfig,
com.google.gwt.user.client.rpc.AsyncCallback<D> callback)
DataProxy
load in interface DataProxy<D>reader - the reader instanceloadConfig - the configcallback - the data callbackpublic void setData(D data)
data - the data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||