Package com.google.gwt.event.shared
Class SimpleEventBus
java.lang.Object
com.google.web.bindery.event.shared.EventBus
com.google.gwt.event.shared.EventBus
com.google.gwt.event.shared.SimpleEventBus
- All Implemented Interfaces:
HasHandlers
Wraps {com.google.web.bindery.event.shared.SimpleEventBus} for legacy
compatibility.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<H extends EventHandler>
HandlerRegistrationaddHandler(GwtEvent.Type<H> type, H handler) addHandler(Event.Type<H> type, H handler) Adds an unfiltered handler to receive events of this type from all sources.<H extends EventHandler>
HandlerRegistrationaddHandlerToSource(GwtEvent.Type<H> type, Object source, H handler) addHandlerToSource(Event.Type<H> type, Object source, H handler) Adds a handler to receive events of this type from the given source.voidFires the given event to the handlers listening to the event's type.voidFires the event from no source.voidfireEventFromSource(GwtEvent<?> event, Object source) voidfireEventFromSource(Event<?> event, Object source) Fires the given event to the handlers listening to the event's type.Methods inherited from class com.google.gwt.event.shared.EventBus
castFireEvent, castFireEventFromSource, wrapMethods inherited from class com.google.web.bindery.event.shared.EventBus
dispatchEvent, setSourceOfEvent
-
Constructor Details
-
SimpleEventBus
public SimpleEventBus()
-
-
Method Details