Package | Description |
---|---|
com.google.gwt.event.dom.client |
Types related to DOM events.
|
com.google.gwt.event.shared |
Shared infrastructure underlying both browser and non-browser events.
|
com.google.gwt.event.shared.testing |
Classes used for testing the GWT event bus.
|
com.google.web.bindery.event.shared | |
com.google.web.bindery.event.shared.testing | |
com.google.web.bindery.requestfactory.shared |
Shared classes used on both the client and the server side for transmitting
data between the server and the client in JSON format.
|
Modifier and Type | Class and Description |
---|---|
static class |
DomEvent.Type<H extends EventHandler>
Type class used by dom event subclasses.
|
Modifier and Type | Class and Description |
---|---|
static class |
GwtEvent.Type<H>
Type class used to register events with the
HandlerManager . |
Modifier and Type | Method and Description |
---|---|
<H> HandlerRegistration |
SimpleEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
ResettableEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
EventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
SimpleEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
<H> HandlerRegistration |
ResettableEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
<H> HandlerRegistration |
EventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
Modifier and Type | Method and Description |
---|---|
<H> HandlerRegistration |
CountingEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
CountingEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
int |
CountingEventBus.getFiredCount(Event.Type<?> type)
How many events have fired for the given
type . |
int |
CountingEventBus.getHandlerCount(Event.Type<?> type)
How many handlers are registered for the given
type . |
Modifier and Type | Method and Description |
---|---|
abstract Event.Type<H> |
Event.getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
Modifier and Type | Method and Description |
---|---|
<H> HandlerRegistration |
SimpleEventBus.addHandler(Event.Type<H> type,
H handler) |
<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.addHandlerToSource(Event.Type<H> type,
Object source,
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.
|
protected <H> void |
SimpleEventBus.doRemove(Event.Type<H> type,
Object source,
H handler)
Deprecated.
required by legacy features in GWT's old HandlerManager
|
protected <H> H |
SimpleEventBus.getHandler(Event.Type<H> type,
int index)
Deprecated.
required by legacy features in GWT's old HandlerManager
|
protected int |
SimpleEventBus.getHandlerCount(Event.Type<?> eventKey)
Deprecated.
required by legacy features in GWT's old HandlerManager
|
protected boolean |
SimpleEventBus.isEventHandled(Event.Type<?> eventKey)
Deprecated.
required by legacy features in GWT's old HandlerManager
|
Modifier and Type | Method and Description |
---|---|
<H> HandlerRegistration |
RecordingEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
CountingEventBus.addHandler(Event.Type<H> type,
H handler) |
<H> HandlerRegistration |
RecordingEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
<H> HandlerRegistration |
CountingEventBus.addHandlerToSource(Event.Type<H> type,
Object source,
H handler) |
int |
CountingEventBus.getCount(Event.Type<?> type)
Deprecated.
Please use
getHandlerCount . |
int |
CountingEventBus.getFiredCount(Event.Type<?> type)
How many events have fired for the given
type . |
int |
CountingEventBus.getFiredCountFromSource(Event.Type<?> type,
Object source)
How many events have fired for the given pairing of
type and source . |
int |
CountingEventBus.getHandlerCount(Event.Type<?> type)
How many handlers are registered for the given
type . |
Modifier and Type | Method and Description |
---|---|
Event.Type<EntityProxyChange.Handler<P>> |
EntityProxyChange.getAssociatedType()
Returns the type associated with this instance.
|
Copyright © 2016. All rights reserved.