public class ContextClickEvent extends MouseEvents.ClickEvent
Component. ContextClickEvent happens
when context click happens on the client-side inside the Component.| Modifier and Type | Class and Description |
|---|---|
static interface |
ContextClickEvent.ContextClickListener
Listener for
ContextClickEvents. |
static interface |
ContextClickEvent.ContextClickNotifier
The interface for adding and removing listeners for
ContextClickEvents. |
| Modifier and Type | Field and Description |
|---|---|
static Method |
CONTEXT_CLICK_METHOD |
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHTsource| Constructor and Description |
|---|
ContextClickEvent(Component source,
MouseEventDetails mouseEventDetails) |
getButton, getButtonName, getClientX, getClientY, getMouseEventDetails, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKeygetComponentgetConnectorgetSource, toStringpublic static final Method CONTEXT_CLICK_METHOD
public ContextClickEvent(Component source, MouseEventDetails mouseEventDetails)
Copyright © 2020 Vaadin Ltd. All rights reserved.