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 interfaceSelectionChangeEvent.HandlerHandler interface forSelectionChangeEventevents.static interfaceSelectionChangeEvent.HasSelectionChangedHandlersInterface specifying that a class can addSelectionChangeEvent.Handlers.-
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 voiddispatch(SelectionChangeEvent.Handler handler)Should only be called byHandlerManager.static voidfire(SelectionChangeEvent.HasSelectionChangedHandlers source)Fires a selection change event on all registered handlers in the handler manager.GwtEvent.Type<SelectionChangeEvent.Handler>getAssociatedType()Returns theEvent.Typeused to register this event, allowing anEventBusto 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:EventReturns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.- Specified by:
getAssociatedTypein classGwtEvent<SelectionChangeEvent.Handler>- Returns:
- the type
-
dispatch
protected void dispatch(SelectionChangeEvent.Handler handler)
Description copied from class:GwtEventShould only be called byHandlerManager. In other words, do not use or call.- Specified by:
dispatchin classGwtEvent<SelectionChangeEvent.Handler>- Parameters:
handler- handler- See Also:
EventBus.dispatchEvent(Event, Object)
-
-