| Package | Description |
|---|---|
| org.gwtproject.event.shared | |
| org.gwtproject.event.shared.testing |
| Modifier and Type | Method and Description |
|---|---|
<H> HandlerRegistration |
ResettableEventBus.addHandler(Event.Type<H> type,
H handler) |
abstract <H> HandlerRegistration |
EventBus.addHandler(Event.Type<H> type,
H handler)
Adds an unfiltered handler to receive events of this type from all sources.
|
<H> HandlerRegistration |
SimpleEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
ResettableEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
abstract <H> HandlerRegistration |
EventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler)
Adds a handler to receive events of this type from the given source.
|
<H> HandlerRegistration |
SimpleEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
static HandlerRegistration |
HandlerRegistrations.compose(HandlerRegistration... handlers)
Create and return a
HandlerRegistration that will call removeHandler() on all supplied handlers if removeHandler() is called on the returned object. |
| Modifier and Type | Method and Description |
|---|---|
static HandlerRegistration |
HandlerRegistrations.compose(HandlerRegistration... handlers)
Create and return a
HandlerRegistration that will call removeHandler() on all supplied handlers if removeHandler() is called on the returned object. |
| Modifier and Type | Method and Description |
|---|---|
<H> HandlerRegistration |
CountingEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
RecordingEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
CountingEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
<H> HandlerRegistration |
RecordingEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
Copyright © 2020. All rights reserved.