public class ItemClickEvent extends BrowserEvent<ItemClickHandler>
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
ItemClickEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ItemClickHandler handler) |
static <S extends HasItemClickHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<ItemClickHandler> |
getAssociatedType() |
Canvas |
getFiringCanvas()
Returns the
Canvas firing the event. |
Button |
getItem()
Deprecated.
in favor of
getTargetCanvas() |
int |
getItemNum()
number of the button in question
|
StatefulCanvas |
getTargetCanvas()
button in question
|
static GwtEvent.Type<ItemClickHandler> |
getType()
Gets the type associated with this event.
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public ItemClickEvent(JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas
firing the event.public static <S extends HasItemClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<ItemClickHandler> getType()
protected void dispatch(ItemClickHandler handler)
dispatch
in class GwtEvent<ItemClickHandler>
public final GwtEvent.Type<ItemClickHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<ItemClickHandler>
public StatefulCanvas getTargetCanvas()
public int getItemNum()
@Deprecated public Button getItem()
getTargetCanvas()