public class LoadingStateChangeEvent extends GwtEvent<LoadingStateChangeEvent.Handler>
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoadingStateChangeEvent.Handler
Implemented by handlers of
LoadingStateChangeEvent. |
static interface |
LoadingStateChangeEvent.LoadingState
Represents the current status of the data being loaded.
|
GwtEvent.Type<H>| Modifier and Type | Field and Description |
|---|---|
static GwtEvent.Type<LoadingStateChangeEvent.Handler> |
TYPE
A singleton instance of Type.
|
| Constructor and Description |
|---|
LoadingStateChangeEvent(LoadingStateChangeEvent.LoadingState state)
Construct a new
LoadingStateChangeEvent. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(LoadingStateChangeEvent.Handler handler)
Should only be called by
HandlerManager. |
GwtEvent.Type<LoadingStateChangeEvent.Handler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
LoadingStateChangeEvent.LoadingState |
getLoadingState()
Get the new
LoadingStateChangeEvent.LoadingState associated with this event. |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static final GwtEvent.Type<LoadingStateChangeEvent.Handler> TYPE
public LoadingStateChangeEvent(LoadingStateChangeEvent.LoadingState state)
LoadingStateChangeEvent.state - the new statepublic GwtEvent.Type<LoadingStateChangeEvent.Handler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class GwtEvent<LoadingStateChangeEvent.Handler>public LoadingStateChangeEvent.LoadingState getLoadingState()
LoadingStateChangeEvent.LoadingState associated with this event.LoadingStateChangeEvent.LoadingStateprotected void dispatch(LoadingStateChangeEvent.Handler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<LoadingStateChangeEvent.Handler>handler - handlerEventBus.dispatchEvent(Event, Object)