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