|
|||||||||
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.
Field Summary | |
---|---|
protected java.lang.Object |
data
|
Constructor Summary | |
---|---|
MemoryProxy(java.lang.Object data)
Creates new memory proxy. |
Method Summary | |
---|---|
java.lang.Object |
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(java.lang.Object data)
Sets the proxy data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object data
Constructor Detail |
---|
public MemoryProxy(java.lang.Object data)
data
- the local dataMethod Detail |
---|
public java.lang.Object 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(java.lang.Object data)
data
- the data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |