GWT 2.1.1

com.google.gwt.view.client
Class SelectionChangeEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<SelectionChangeEvent.Handler>
      extended by com.google.gwt.view.client.SelectionChangeEvent

public class SelectionChangeEvent
extends GwtEvent<SelectionChangeEvent.Handler>

Represents a selection change event.


Nested Class Summary
static interface SelectionChangeEvent.Handler
          Handler interface for SelectionChangeEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Method Summary
protected  void dispatch(SelectionChangeEvent.Handler handler)
          Should only be called by HandlerManager.
static void fire(SelectionModel<?> source)
          Fires a selection change event on all registered handlers in the handler manager.
 GwtEvent.Type<SelectionChangeEvent.Handler> getAssociatedType()
          Returns the type used to register this event.
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, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

fire

public static void fire(SelectionModel<?> 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: GwtEvent
Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Specified by:
getAssociatedType in class GwtEvent<SelectionChangeEvent.Handler>
Returns:
the type

dispatch

protected void dispatch(SelectionChangeEvent.Handler handler)
Description copied from class: GwtEvent
Should only be called by HandlerManager. In other words, do not use or call.

Specified by:
dispatch in class GwtEvent<SelectionChangeEvent.Handler>
Parameters:
handler - handler

GWT 2.1.1