|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseEvent
com.extjs.gxt.ui.client.data.LoadEvent
public class LoadEvent
Instances of this class are sent as a result of load operations.
Field Summary | |
---|---|
java.lang.Throwable |
exception
|
Loader<?> |
loader
The loader that triggered this event. |
Constructor Summary | |
---|---|
LoadEvent(Loader<?> loader)
Creates a new load event. |
|
LoadEvent(Loader<?> loader,
java.lang.Object config)
Creates a new load event. |
|
LoadEvent(Loader<?> loader,
java.lang.Object config,
java.lang.Object data)
Creates a new load event. |
|
LoadEvent(Loader<?> loader,
java.lang.Object config,
java.lang.Throwable t)
Creates a new load event. |
Method Summary | ||
---|---|---|
|
getConfig()
Returns the load config. |
|
|
getData()
Returns the data from the load request. |
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent |
---|
getSource, getType, isCancelled, setCancelled, setSource, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Throwable exception
public Loader<?> loader
Constructor Detail |
---|
public LoadEvent(Loader<?> loader)
loader
- the data loaderpublic LoadEvent(Loader<?> loader, java.lang.Object config)
loader
- the data loaderconfig
- the config objectpublic LoadEvent(Loader<?> loader, java.lang.Object config, java.lang.Object data)
loader
- the data loaderconfig
- the config objectdata
- the datapublic LoadEvent(Loader<?> loader, java.lang.Object config, java.lang.Throwable t)
loader
- the data loaderconfig
- the config objectt
- the exceptionMethod Detail |
---|
public <X> X getConfig()
X
- the load config type
public <X> X getData()
X
- the data type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |