public final class AddHandlerEvent extends GwtEvent<H>
GwtEvent.Type<H>| Modifier and Type | Field and Description |
|---|---|
static GwtEvent.Type<AddHandlerEventHandler> |
TYPE
Event type
|
| Constructor and Description |
|---|
AddHandlerEvent(GwtEvent.Type<? extends EventHandler> handlerType)
Creates the event with the type of new handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(AddHandlerEventHandler handler) |
GwtEvent.Type<AddHandlerEventHandler> |
getAssociatedType() |
boolean |
isRecognize(GwtEvent.Type<?> type)
Returns
true if the type of event handler is equals to the event handler type provided as argument,
otherwise false. |
boolean |
isRecognize(List<GwtEvent.Type<?>> types)
Returns
true if the type of event handler is inside the list provided as argument, otherwise
false. |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static final GwtEvent.Type<AddHandlerEventHandler> TYPE
public AddHandlerEvent(GwtEvent.Type<? extends EventHandler> handlerType)
handlerType - the type of new handler.public GwtEvent.Type<AddHandlerEventHandler> getAssociatedType()
getAssociatedType in class GwtEvent<AddHandlerEventHandler>protected void dispatch(AddHandlerEventHandler handler)
dispatch in class GwtEvent<AddHandlerEventHandler>public final boolean isRecognize(List<GwtEvent.Type<?>> types)
true if the type of event handler is inside the list provided as argument, otherwise
false.types - list of type to use checking if the type of event handler of event is in the listtrue if the type of event handler is inside the list provided as argument, otherwise
falsepublic final boolean isRecognize(GwtEvent.Type<?> type)
true if the type of event handler is equals to the event handler type provided as argument,
otherwise false.type - the event handler type to use checking if equals to the type of event handler of eventtrue if the type of event handler is equals to the event handler type provided as argument,
otherwise false