public class LeafClickEvent extends BrowserEvent<LeafClickHandler>
GwtEvent.Type<H>jsObj| Constructor and Description |
|---|
LeafClickEvent(JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(LeafClickHandler handler) |
static <S extends HasLeafClickHandlers & 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<LeafClickHandler> |
getAssociatedType() |
TreeNode |
getLeaf()
The leaf (record) that was clicked
|
int |
getRecordNum()
Index of the row where the click occurred.
|
static GwtEvent.Type<LeafClickHandler> |
getType()
Gets the type associated with this event.
|
TreeGrid |
getViewer()
The TreeGrid on which leafClick() occurred.
|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDownassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic LeafClickEvent(JavaScriptObject jsObj)
public static <S extends HasLeafClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S - The event sourcesource - the source of the handlersjsObj - the native eventpublic static GwtEvent.Type<LeafClickHandler> getType()
protected void dispatch(LeafClickHandler handler)
dispatch in class GwtEvent<LeafClickHandler>public final GwtEvent.Type<LeafClickHandler> getAssociatedType()
getAssociatedType in class GwtEvent<LeafClickHandler>public TreeGrid getViewer()
public TreeNode getLeaf()
public int getRecordNum()