public class NodeClickEvent extends BrowserEvent<NodeClickHandler>
jsObj
Constructor and Description |
---|
NodeClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(NodeClickHandler handler) |
static <S extends HasNodeClickHandlers & 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<NodeClickHandler> |
getAssociatedType() |
TreeNode |
getNode()
The node (record) that was clicked
|
int |
getRecordNum()
Index of the row where the click occurred.
|
static com.google.gwt.event.shared.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
public NodeClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasNodeClickHandlers & 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<NodeClickHandler> getType()
protected void dispatch(NodeClickHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<NodeClickHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<NodeClickHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<NodeClickHandler>
public TreeGrid getViewer()
public TreeNode getNode()
public int getRecordNum()