public class NodeSelectedEvent extends BrowserEvent<NodeSelectedHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
NodeSelectedEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel default behavior
|
protected void |
dispatch(NodeSelectedHandler handler) |
static <S extends HasNodeSelectedHandlers & 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<NodeSelectedHandler> |
getAssociatedType() |
ListGrid |
getColumn()
The column (ListGrid instance) in which the node was selected
|
TreeNode |
getNode()
The selected node
|
TreeNode |
getTreeNode()
node the node that was selected
|
static GwtEvent.Type<NodeSelectedHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public NodeSelectedEvent(JavaScriptObject jsObj)
public static <S extends HasNodeSelectedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<NodeSelectedHandler> getType()
protected void dispatch(NodeSelectedHandler handler)
dispatch
in class GwtEvent<NodeSelectedHandler>
public final GwtEvent.Type<NodeSelectedHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<NodeSelectedHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public ListGrid getColumn()
public TreeNode getNode()
public TreeNode getTreeNode()