public class InitializeEvent extends GwtEvent<InitializeHandler>
GwtEvent.Type<H>| Modifier | Constructor and Description |
|---|---|
protected |
InitializeEvent()
Construct a new
InitializeEvent. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(InitializeHandler handler)
Should only be called by
HandlerManager. |
static <S extends HasInitializeHandlers & HasHandlers> |
fire(S source)
Fires a initialize event on all registered handlers in the handler source.
|
GwtEvent.Type<InitializeHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static GwtEvent.Type<InitializeHandler> |
getType()
Ensures the existence of the handler hook and then returns it.
|
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringprotected InitializeEvent()
InitializeEvent.public static <S extends HasInitializeHandlers & HasHandlers> void fire(S source)
S - The handler sourcesource - the source of the handlerspublic static GwtEvent.Type<InitializeHandler> getType()
public final GwtEvent.Type<InitializeHandler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class GwtEvent<InitializeHandler>protected void dispatch(InitializeHandler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<InitializeHandler>handler - handlerEventBus.dispatchEvent(Event, Object)