|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<ShowContextMenuEvent.ShowContextMenuHandler>
com.sencha.gxt.widget.core.client.event.ShowContextMenuEvent
public class ShowContextMenuEvent
Fires after a widget's context menu is shown.
| Nested Class Summary | |
|---|---|
static interface |
ShowContextMenuEvent.HasShowContextMenuHandler
A widget that implements this interface is a public source of ShowContextMenuEvent events. |
static interface |
ShowContextMenuEvent.ShowContextMenuHandler
Handler for ShowContextMenuEvent events. |
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
ShowContextMenuEvent(Menu menu)
|
|
| Method Summary | |
|---|---|
GwtEvent.Type<ShowContextMenuEvent.ShowContextMenuHandler> |
getAssociatedType()
|
Menu |
getMenu()
Returns the context menu. |
Component |
getSource()
|
static GwtEvent.Type<ShowContextMenuEvent.ShowContextMenuHandler> |
getType()
Gets the type associated with this event. |
boolean |
isCancelled()
Returns true if the event is cancelled. |
void |
setCancelled(boolean cancelled)
True to cancel the event. |
| Methods inherited from class com.google.web.bindery.event.shared.Event |
|---|
toDebugString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShowContextMenuEvent(Menu menu)
| Method Detail |
|---|
public static GwtEvent.Type<ShowContextMenuEvent.ShowContextMenuHandler> getType()
public GwtEvent.Type<ShowContextMenuEvent.ShowContextMenuHandler> getAssociatedType()
getAssociatedType in class GwtEvent<ShowContextMenuEvent.ShowContextMenuHandler>public Menu getMenu()
public Component getSource()
getSource in class GwtEvent<ShowContextMenuEvent.ShowContextMenuHandler>public boolean isCancelled()
CancellableEvent
isCancelled in interface CancellableEventpublic void setCancelled(boolean cancelled)
CancellableEvent
setCancelled in interface CancellableEventcancelled - true to cancel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||