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, revive
protected 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()
com.google.web.bindery.event.shared.Event
Event.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)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<InitializeHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2018. All rights reserved.