Skip navigation links
A C D E F G H M O R S T U W 

A

addHandler(Event.Type<H>, H) - Method in class org.gwtproject.event.shared.EventBus
Adds an unfiltered handler to receive events of this type from all sources.
addHandler(Event.Type<H>, H) - Method in class org.gwtproject.event.shared.ResettableEventBus
 
addHandler(Event.Type<H>, H) - Method in class org.gwtproject.event.shared.SimpleEventBus
 
addHandler(Event.Type<H>, H) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
 
addHandler(Event.Type<H>, H) - Method in class org.gwtproject.event.shared.testing.RecordingEventBus
 
addHandlerToSource(Event.Type<H>, Object, H) - Method in class org.gwtproject.event.shared.EventBus
Adds a handler to receive events of this type from the given source.
addHandlerToSource(Event.Type<H>, Object, H) - Method in class org.gwtproject.event.shared.ResettableEventBus
 
addHandlerToSource(Event.Type<H>, Object, H) - Method in class org.gwtproject.event.shared.SimpleEventBus
 
addHandlerToSource(Event.Type<H>, Object, H) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
 
addHandlerToSource(Event.Type<H>, Object, H) - Method in class org.gwtproject.event.shared.testing.RecordingEventBus
 

C

clearFiredEvents() - Method in class org.gwtproject.event.shared.testing.RecordingEventBus
Clears the remembered list of fired events.
compose(HandlerRegistration...) - Static method in class org.gwtproject.event.shared.HandlerRegistrations
Create and return a HandlerRegistration that will call HandlerRegistration.removeHandler() on all supplied handlers if HandlerRegistration.removeHandler() is called on the returned object.
CountingEventBus - Class in org.gwtproject.event.shared.testing
Wraps an EventBus to keep a count of registered handlers and how many times events have fired.
CountingEventBus() - Constructor for class org.gwtproject.event.shared.testing.CountingEventBus
 
CountingEventBus(EventBus) - Constructor for class org.gwtproject.event.shared.testing.CountingEventBus
 

D

dispatch(H) - Method in class org.gwtproject.event.shared.Event
Implemented by subclasses to to invoke their handlers in a type safe manner.
dispatchEvent(Event<H>, H) - Static method in class org.gwtproject.event.shared.EventBus
Invokes event.dispatch with handler.

E

Event<H> - Class in org.gwtproject.event.shared
Base Event object.
Event() - Constructor for class org.gwtproject.event.shared.Event
Constructor.
Event.Type<H> - Class in org.gwtproject.event.shared
Type class used to register events with an EventBus.
EventBus - Class in org.gwtproject.event.shared
Dispatches Events to interested parties.
EventBus() - Constructor for class org.gwtproject.event.shared.EventBus
 

F

fireEvent(Event<?>) - Method in class org.gwtproject.event.shared.EventBus
Fires the event from no source.
fireEvent(Event<?>) - Method in interface org.gwtproject.event.shared.HasHandlers
Fires the given event to the handlers listening to the event's type.
fireEvent(Event<?>) - Method in class org.gwtproject.event.shared.ResettableEventBus
 
fireEvent(Event<?>) - Method in class org.gwtproject.event.shared.SimpleEventBus
 
fireEvent(Event<?>) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
 
fireEvent(Event<?>) - Method in class org.gwtproject.event.shared.testing.RecordingEventBus
 
fireEventFromSource(Event<?>, Object) - Method in class org.gwtproject.event.shared.EventBus
Fires the given event to the handlers listening to the event's type.
fireEventFromSource(Event<?>, Object) - Method in class org.gwtproject.event.shared.ResettableEventBus
 
fireEventFromSource(Event<?>, Object) - Method in class org.gwtproject.event.shared.SimpleEventBus
 
fireEventFromSource(Event<?>, Object) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
 
fireEventFromSource(Event<?>, Object) - Method in class org.gwtproject.event.shared.testing.RecordingEventBus
 

G

getAssociatedType() - Method in class org.gwtproject.event.shared.Event
Returns the Event.Type used to register this event, allowing an EventBus to find handlers of the appropriate class.
getCauses() - Method in exception org.gwtproject.event.shared.UmbrellaException
Get the set of exceptions that caused the failure.
getFiredCount(Event.Type<?>) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
How many events have fired for the given type.
getFiredCountFromSource(Event.Type<?>, Object) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
How many events have fired for the given pairing of type and source.
getHandlerCount(Event.Type<?>) - Method in class org.gwtproject.event.shared.testing.CountingEventBus
How many handlers are registered for the given type.
getSource() - Method in class org.gwtproject.event.shared.Event
Returns the source for this event.

H

HandlerRegistration - Interface in org.gwtproject.event.shared
Registration objects returned when an event handler is bound (e.g.
HandlerRegistrations - Class in org.gwtproject.event.shared
A utility class to help deal with handler registrations.
HasHandlers - Interface in org.gwtproject.event.shared
An object that implements this interface has a collection of event handlers associated with it.
hashCode() - Method in class org.gwtproject.event.shared.Event.Type
 

M

makeCause(Set<Throwable>) - Static method in exception org.gwtproject.event.shared.UmbrellaException
 
makeMessage(Set<Throwable>) - Static method in exception org.gwtproject.event.shared.UmbrellaException
 

O

org.gwtproject.event.shared - package org.gwtproject.event.shared
 
org.gwtproject.event.shared.testing - package org.gwtproject.event.shared.testing
 

R

RecordingEventBus - Class in org.gwtproject.event.shared.testing
Wraps an EventBus implementation to keep track of fired events.
RecordingEventBus() - Constructor for class org.gwtproject.event.shared.testing.RecordingEventBus
 
RecordingEventBus(EventBus) - Constructor for class org.gwtproject.event.shared.testing.RecordingEventBus
 
removeHandler() - Method in interface org.gwtproject.event.shared.HandlerRegistration
Deregisters the handler associated with this registration object if the handler is still attached to the event source.
removeHandlers() - Method in class org.gwtproject.event.shared.ResettableEventBus
Remove all handlers that have been added through this wrapper.
ResettableEventBus - Class in org.gwtproject.event.shared
Wraps an EventBus to hold on to any HandlerRegistrations, so that they can easily all be cleared at once.
ResettableEventBus(EventBus) - Constructor for class org.gwtproject.event.shared.ResettableEventBus
 

S

setSource(Object) - Method in class org.gwtproject.event.shared.Event
Set the source that triggered this event.
setSourceOfEvent(Event<?>, Object) - Static method in class org.gwtproject.event.shared.EventBus
Sets source as the source of event.
SimpleEventBus - Class in org.gwtproject.event.shared
Basic implementation of EventBus.
SimpleEventBus() - Constructor for class org.gwtproject.event.shared.SimpleEventBus
 

T

toDebugString() - Method in class org.gwtproject.event.shared.Event
This is a method used primarily for debugging.
toString() - Method in class org.gwtproject.event.shared.Event
The toString() for abstract event is overridden to avoid accidently including class literals in the compiled output.
toString() - Method in class org.gwtproject.event.shared.Event.Type
 
Type() - Constructor for class org.gwtproject.event.shared.Event.Type
Constructor.

U

UmbrellaException - Exception in org.gwtproject.event.shared
A RuntimeException that collects a Set of child Throwables together.
UmbrellaException(Set<Throwable>) - Constructor for exception org.gwtproject.event.shared.UmbrellaException
 
UmbrellaException() - Constructor for exception org.gwtproject.event.shared.UmbrellaException
Required for GWT RPC serialization.

W

wasEventFired(Event<?>) - Method in class org.gwtproject.event.shared.testing.RecordingEventBus
Returns true if the specified event was fired.
A C D E F G H M O R S T U W 
Skip navigation links

Copyright © 2020. All rights reserved.