| Package | Description |
|---|---|
| org.gwtproject.event.shared | |
| org.gwtproject.event.shared.testing |
| Modifier and Type | Method and Description |
|---|---|
protected static <H> void |
EventBus.dispatchEvent(Event<H> event,
H handler)
Invokes
event.dispatch with handler. |
void |
ResettableEventBus.fireEvent(Event<?> event) |
abstract void |
EventBus.fireEvent(Event<?> event)
Fires the event from no source.
|
void |
SimpleEventBus.fireEvent(Event<?> event) |
void |
HasHandlers.fireEvent(Event<?> event)
Fires the given event to the handlers listening to the event's type.
|
void |
ResettableEventBus.fireEventFromSource(Event<?> event,
Object source) |
abstract void |
EventBus.fireEventFromSource(Event<?> event,
Object source)
Fires the given event to the handlers listening to the event's type.
|
void |
SimpleEventBus.fireEventFromSource(Event<?> event,
Object source) |
protected static void |
EventBus.setSourceOfEvent(Event<?> event,
Object source)
Sets
source as the source of event. |
| Modifier and Type | Method and Description |
|---|---|
void |
CountingEventBus.fireEvent(Event<?> event) |
void |
RecordingEventBus.fireEvent(Event<?> event) |
void |
CountingEventBus.fireEventFromSource(Event<?> event,
Object source) |
void |
RecordingEventBus.fireEventFromSource(Event<?> event,
Object source) |
boolean |
RecordingEventBus.wasEventFired(Event<?> event)
Returns
true if the specified event was fired. |
Copyright © 2020. All rights reserved.