|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.data.shared.loader.MemoryProxy<C,D>
public class MemoryProxy<C,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(C loadConfig,
Callback<D,java.lang.Throwable> 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(C loadConfig,
Callback<D,java.lang.Throwable> callback)
DataProxyDataReader can be used to "process" the raw data.
load in interface DataProxy<C,D>loadConfig - the load config object to be passed to servercallback - 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 | |||||||||