public final class HeaderContextMenuEvent extends GridEvent<HeaderContextMenuEvent.HeaderContextMenuHandler> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
HeaderContextMenuEvent.HasHeaderContextMenuHandlers |
static interface |
HeaderContextMenuEvent.HeaderContextMenuHandler |
GwtEvent.Type<H>
Constructor and Description |
---|
HeaderContextMenuEvent(int columnIndex,
Menu menu) |
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<HeaderContextMenuEvent.HeaderContextMenuHandler> |
getAssociatedType() |
int |
getColumnIndex() |
Menu |
getMenu() |
static GwtEvent.Type<HeaderContextMenuEvent.HeaderContextMenuHandler> |
getType() |
boolean |
isCancelled()
Returns true if the event is cancelled.
|
void |
setCancelled(boolean cancelled)
True to cancel the event.
|
toDebugString, toString
public HeaderContextMenuEvent(int columnIndex, Menu menu)
public static GwtEvent.Type<HeaderContextMenuEvent.HeaderContextMenuHandler> getType()
public GwtEvent.Type<HeaderContextMenuEvent.HeaderContextMenuHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<HeaderContextMenuEvent.HeaderContextMenuHandler>
public int getColumnIndex()
public Menu getMenu()
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancelled)
CancellableEvent
setCancelled
in interface CancellableEvent
cancelled
- true to cancelCopyright © 2015. All rights reserved.