|
||||||||||
| 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<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler>
com.sencha.gxt.widget.core.client.event.BeforeShowContextMenuEvent
public class BeforeShowContextMenuEvent
Fires before a widget's context menu is shown.
| Nested Class Summary | |
|---|---|
static interface |
BeforeShowContextMenuEvent.BeforeShowContextMenuHandler
Handler for BeforeShowContextMenuEvent events. |
static interface |
BeforeShowContextMenuEvent.HasBeforeShowContextMenuHandler
A widget that implements this interface is a public source of BeforeShowContextMenuEvent events. |
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
BeforeShowContextMenuEvent(Menu menu)
|
|
| Method Summary | |
|---|---|
GwtEvent.Type<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler> |
getAssociatedType()
|
Menu |
getMenu()
Returns the context menu. |
Component |
getSource()
|
static GwtEvent.Type<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler> |
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 BeforeShowContextMenuEvent(Menu menu)
| Method Detail |
|---|
public static GwtEvent.Type<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler> getType()
public GwtEvent.Type<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler> getAssociatedType()
getAssociatedType in class GwtEvent<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler>public Menu getMenu()
public Component getSource()
getSource in class GwtEvent<BeforeShowContextMenuEvent.BeforeShowContextMenuHandler>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 | |||||||||