public class ErrorEvent extends DomEvent<ErrorHandler>
DomEvent.Type<H extends EventHandler>
Modifier | Constructor and Description |
---|---|
protected |
ErrorEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire error events. |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ErrorHandler handler)
Should only be called by
HandlerManager . |
DomEvent.Type<ErrorHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<ErrorHandler> |
getType()
Gets the event type associated with error events.
|
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
protected ErrorEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire error events.public static DomEvent.Type<ErrorHandler> getType()
public final DomEvent.Type<ErrorHandler> 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 DomEvent<ErrorHandler>
protected void dispatch(ErrorHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<ErrorHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2018. All rights reserved.