|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
D
- the data type being returned by the loaderpublic interface Loader<D>
Interface for objects that can load remote data.
BaseEvent.setCancelled(boolean)
.
ListLoader
,
TreeLoader
Field Summary | |
---|---|
static EventType |
BeforeLoad
Fires before a request is made for data. |
static EventType |
Load
Fires when new data has been loaded. |
static EventType |
LoadException
Fires if an exception occurs while retrieving data. |
Method Summary | |
---|---|
void |
addLoadListener(LoadListener listener)
Adds a load listener. |
boolean |
load()
Loads the data using the current configuration. |
boolean |
load(java.lang.Object loadConfig)
Loads the data using the given load configuration. |
void |
removeLoadListener(LoadListener listener)
Removes a load listener. |
Methods inherited from interface com.extjs.gxt.ui.client.event.Observable |
---|
addListener, fireEvent, getListeners, hasListeners, hasListeners, removeAllListeners, removeListener |
Field Detail |
---|
static final EventType BeforeLoad
static final EventType Load
static final EventType LoadException
Method Detail |
---|
void addLoadListener(LoadListener listener)
listener
- the listener to addboolean load()
boolean load(java.lang.Object loadConfig)
loadConfig
- the load config
void removeLoadListener(LoadListener listener)
listener
- the listener to remove
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |