public class SelectionChangeEvent extends GwtEvent<SelectionChangeEvent.Handler>
Modifier and Type | Class and Description |
---|---|
static interface |
SelectionChangeEvent.Handler
Handler interface for
SelectionChangeEvent events. |
static interface |
SelectionChangeEvent.HasSelectionChangedHandlers
Interface specifying that a class can add
SelectionChangeEvent.Handler s. |
GwtEvent.Type<H>
Constructor and Description |
---|
SelectionChangeEvent()
Creates a selection change event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(SelectionChangeEvent.Handler handler)
Should only be called by
HandlerManager . |
static void |
fire(SelectionChangeEvent.HasSelectionChangedHandlers source)
Fires a selection change event on all registered handlers in the handler
manager.
|
GwtEvent.Type<SelectionChangeEvent.Handler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static GwtEvent.Type<SelectionChangeEvent.Handler> |
getType()
Gets the type associated with this event.
|
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public static void fire(SelectionChangeEvent.HasSelectionChangedHandlers source)
source
- the source of the handlerspublic static GwtEvent.Type<SelectionChangeEvent.Handler> getType()
public final GwtEvent.Type<SelectionChangeEvent.Handler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class GwtEvent<SelectionChangeEvent.Handler>
protected void dispatch(SelectionChangeEvent.Handler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<SelectionChangeEvent.Handler>
handler
- handlerEventBus.dispatchEvent(Event, Object)