|
GWT 2.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.event.shared.GwtEvent<SelectionHandler<I>>
com.google.gwt.event.logical.shared.SelectionEvent<I>
I
- the type being selectedpublic class SelectionEvent<I>
Represents a selection event.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
protected |
SelectionEvent(I selectedItem)
Creates a new selection event. |
Method Summary | ||
---|---|---|
protected void |
dispatch(SelectionHandler<I> handler)
Should only be called by HandlerManager . |
|
static
|
fire(HasSelectionHandlers<I> source,
I selectedItem)
Fires a selection event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing. |
|
GwtEvent.Type<SelectionHandler<I>> |
getAssociatedType()
Returns the type used to register this event. |
|
I |
getSelectedItem()
Gets the selected item. |
|
static GwtEvent.Type<SelectionHandler<?>> |
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 |
Constructor Detail |
---|
protected SelectionEvent(I selectedItem)
selectedItem
- selected itemMethod Detail |
---|
public static <I> void fire(HasSelectionHandlers<I> source, I selectedItem)
I
- the selected item typesource
- the source of the handlersselectedItem
- the selected itempublic static GwtEvent.Type<SelectionHandler<?>> getType()
public final GwtEvent.Type<SelectionHandler<I>> getAssociatedType()
GwtEvent
getAssociatedType
in class GwtEvent<SelectionHandler<I>>
public I getSelectedItem()
protected void dispatch(SelectionHandler<I> handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<SelectionHandler<I>>
handler
- handler
|
GWT 2.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |