public class ItemClickEvent extends BrowserEvent<ItemClickHandler> implements Cancellable
jsObj| Constructor and Description |
|---|
ItemClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
void | cancel() false if event processing should be stopped, true to continue |
protected void | dispatch(ItemClickHandler handler) |
static <S extends HasItemClickHandlers & com.google.gwt.event.shared.HasHandlers> | fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj) Fires a open event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing. |
com.google.gwt.event.shared.GwtEvent.Type<ItemClickHandler> | getAssociatedType() |
int | getColNum() Index of the column clicked by the user. |
Canvas | getFiringCanvas() Returns the Canvas firing the event. |
MenuItem | getItem() Pointer to the item in question. |
Record | getRecord() Pointer to the item in question as a Record. |
TreeNode | getTreeNode() Pointer to the item in question as TreeNode. |
static com.google.gwt.event.shared.GwtEvent.Type<ItemClickHandler> | getType() Gets the type associated with this event. |
boolean | isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDowngetFiringInstanceAsJavaScriptObjectassertLive, getSource, isLive, kill, revivepublic ItemClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public Canvas getFiringCanvas()
Canvas firing the event.public static <S extends HasItemClickHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<ItemClickHandler> getType()
protected void dispatch(ItemClickHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<ItemClickHandler>public final com.google.gwt.event.shared.GwtEvent.Type<ItemClickHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ItemClickHandler>public void cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface Cancellablepublic int getColNum()
public MenuItem getItem()
public TreeNode getTreeNode()
public Record getRecord()