|
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<BeforeSelectionHandler<I>>
com.google.gwt.event.logical.shared.BeforeSelectionEvent<I>
I - the type about to be selectedpublic class BeforeSelectionEvent<I>
Represents a before selection event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
protected |
BeforeSelectionEvent()
Creates a new before selection event. |
| Method Summary | ||
|---|---|---|
void |
cancel()
Cancel the before selection event. |
|
protected void |
dispatch(BeforeSelectionHandler<I> handler)
Should only be called by HandlerManager. |
|
static
|
fire(HasBeforeSelectionHandlers<I> source,
I item)
Fires a before selection event on all registered handlers in the handler manager. |
|
GwtEvent.Type<BeforeSelectionHandler<I>> |
getAssociatedType()
Returns the type used to register this event. |
|
I |
getItem()
Gets the item. |
|
static GwtEvent.Type<BeforeSelectionHandler<?>> |
getType()
Gets the type associated with this event. |
|
boolean |
isCanceled()
Has the selection event already been canceled? |
|
protected void |
setItem(I item)
Sets the item. |
|
| 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 BeforeSelectionEvent()
| Method Detail |
|---|
public static <I> BeforeSelectionEvent<I> fire(HasBeforeSelectionHandlers<I> source,
I item)
I - the item typesource - the source of the handlersitem - the item
public static GwtEvent.Type<BeforeSelectionHandler<?>> getType()
public void cancel()
public final GwtEvent.Type<BeforeSelectionHandler<I>> getAssociatedType()
GwtEvent
getAssociatedType in class GwtEvent<BeforeSelectionHandler<I>>public I getItem()
public boolean isCanceled()
protected void dispatch(BeforeSelectionHandler<I> handler)
GwtEventHandlerManager. In other words, do not use
or call.
dispatch in class GwtEvent<BeforeSelectionHandler<I>>handler - handlerprotected final void setItem(I item)
item - the item
|
GWT 2.0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||