|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.event.shared.GwtEvent<H>
com.smartgwt.client.event.AbstractSmartEvent<H>
com.smartgwt.client.widgets.events.BrowserEvent<NodeContextClickHandler>
com.smartgwt.client.widgets.tree.events.NodeContextClickEvent
public class NodeContextClickEvent
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Field Summary |
---|
Fields inherited from class com.smartgwt.client.event.AbstractSmartEvent |
---|
jsObj |
Constructor Summary | |
---|---|
NodeContextClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
|
Method Summary | ||
---|---|---|
void |
cancel()
whether to cancel the event |
|
protected void |
dispatch(NodeContextClickHandler handler)
Should only be called by HandlerManager . |
|
static
|
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. |
|
GwtEvent.Type<NodeContextClickHandler> |
getAssociatedType()
Returns the type used to register this event. |
|
TreeNode |
getNode()
The node (record) on which the contextclick occurred. |
|
int |
getRecordNum()
Index of the row where the contextclick occurred. |
|
static GwtEvent.Type<NodeContextClickHandler> |
getType()
Gets the type associated with this event. |
|
TreeGrid |
getViewer()
The TreeGrid on which the contexclick occurred. |
|
boolean |
isCancelled()
|
Methods inherited from class com.smartgwt.client.widgets.events.BrowserEvent |
---|
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeContextClickEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
Method Detail |
---|
public static <S extends HasNodeContextClickHandlers & 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 GwtEvent.Type<NodeContextClickHandler> getType()
protected void dispatch(NodeContextClickHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<NodeContextClickHandler>
handler
- handlerpublic final GwtEvent.Type<NodeContextClickHandler> getAssociatedType()
GwtEvent
getAssociatedType
in class GwtEvent<NodeContextClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public TreeGrid getViewer()
public TreeNode getNode()
public int getRecordNum()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |