Package com.google.gwt.view.client
Class SelectionChangeEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<SelectionChangeEvent.Handler>
-
- com.google.gwt.view.client.SelectionChangeEvent
-
public class SelectionChangeEvent extends GwtEvent<SelectionChangeEvent.Handler>
Represents a selection change event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SelectionChangeEvent.Handler
Handler interface forSelectionChangeEvent
events.static interface
SelectionChangeEvent.HasSelectionChangedHandlers
Interface specifying that a class can addSelectionChangeEvent.Handler
s.-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
-
-
Constructor Summary
Constructors Constructor Description SelectionChangeEvent()
Creates a selection change event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatch(SelectionChangeEvent.Handler handler)
Should only be called byHandlerManager
.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 theEvent.Type
used to register this event, allowing anEventBus
to find handlers of the appropriate class.static GwtEvent.Type<SelectionChangeEvent.Handler>
getType()
Gets the type associated with this event.-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
-
-
-
-
Method Detail
-
fire
public static void fire(SelectionChangeEvent.HasSelectionChangedHandlers source)
Fires a selection change event on all registered handlers in the handler manager. If no such handlers exist, this method will do nothing.- Parameters:
source
- the source of the handlers
-
getType
public static GwtEvent.Type<SelectionChangeEvent.Handler> getType()
Gets the type associated with this event.- Returns:
- returns the handler type
-
getAssociatedType
public final GwtEvent.Type<SelectionChangeEvent.Handler> getAssociatedType()
Description copied from class:Event
Returns theEvent.Type
used to register this event, allowing anEventBus
to find handlers of the appropriate class.- Specified by:
getAssociatedType
in classGwtEvent<SelectionChangeEvent.Handler>
- Returns:
- the type
-
dispatch
protected void dispatch(SelectionChangeEvent.Handler handler)
Description copied from class:GwtEvent
Should only be called byHandlerManager
. In other words, do not use or call.- Specified by:
dispatch
in classGwtEvent<SelectionChangeEvent.Handler>
- Parameters:
handler
- handler- See Also:
EventBus.dispatchEvent(Event, Object)
-
-