|
|||||||||
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<FolderContextClickHandler>
com.smartgwt.client.widgets.tree.events.FolderContextClickEvent
public class FolderContextClickEvent
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 | |
---|---|
FolderContextClickEvent(JavaScriptObject jsObj)
|
Method Summary | ||
---|---|---|
void |
cancel()
whether to cancel the event |
|
protected void |
dispatch(FolderContextClickHandler handler)
Should only be called by HandlerManager . |
|
static
|
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<FolderContextClickHandler> |
getAssociatedType()
Returns the type used to register this event. |
|
TreeNode |
getFolder()
The folder (record) on which the contextclick occurred. |
|
int |
getRecordNum()
Index of the row where the contextclick occurred. |
|
static GwtEvent.Type<FolderContextClickHandler> |
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 FolderContextClickEvent(JavaScriptObject jsObj)
Method Detail |
---|
public static <S extends HasFolderContextClickHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<FolderContextClickHandler> getType()
protected void dispatch(FolderContextClickHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<FolderContextClickHandler>
handler
- handlerpublic final GwtEvent.Type<FolderContextClickHandler> getAssociatedType()
GwtEvent
getAssociatedType
in class GwtEvent<FolderContextClickHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public TreeGrid getViewer()
public TreeNode getFolder()
public int getRecordNum()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |