Class CountingEventBus
java.lang.Object
com.google.web.bindery.event.shared.EventBus
com.google.gwt.event.shared.EventBus
com.google.gwt.event.shared.testing.CountingEventBus
-
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.intgetCount(GwtEvent.Type<?> type) Deprecated.intgetFiredCount(Event.Type<?> type) How many events have fired for the giventype.intgetHandlerCount(Event.Type<?> type) How many handlers are registered for the giventype.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
-
CountingEventBus
public CountingEventBus()
-
-
Method Details
getHandlerCount.