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.
|
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, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public ItemClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
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 Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public int getColNum()
public MenuItem getItem()
public TreeNode getTreeNode()
public Record getRecord()