public final class AddHandlerEvent
extends com.google.gwt.event.shared.GwtEvent<H>
Modifier and Type | Field and Description |
---|---|
static com.google.gwt.event.shared.GwtEvent.Type<AddHandlerEventHandler> |
TYPE
Event type
|
Constructor and Description |
---|
AddHandlerEvent(com.google.gwt.event.shared.GwtEvent.Type<? extends com.google.gwt.event.shared.EventHandler> handlerType)
Creates the event with the type of new handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(AddHandlerEventHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<AddHandlerEventHandler> |
getAssociatedType() |
boolean |
isRecognize(com.google.gwt.event.shared.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(java.util.List<com.google.gwt.event.shared.GwtEvent.Type<?>> types)
Returns
true if the type of event handler is inside the list provided as argument, otherwise
false . |
assertLive, getSource, isLive, kill, revive
public static final com.google.gwt.event.shared.GwtEvent.Type<AddHandlerEventHandler> TYPE
public AddHandlerEvent(com.google.gwt.event.shared.GwtEvent.Type<? extends com.google.gwt.event.shared.EventHandler> handlerType)
handlerType
- the type of new handler.public com.google.gwt.event.shared.GwtEvent.Type<AddHandlerEventHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<AddHandlerEventHandler>
protected void dispatch(AddHandlerEventHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<AddHandlerEventHandler>
public final boolean isRecognize(java.util.List<com.google.gwt.event.shared.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
false
public final boolean isRecognize(com.google.gwt.event.shared.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