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_RIGHT
source
Constructor and Description |
---|
ContextClickEvent(Component source,
MouseEventDetails mouseEventDetails) |
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
getComponent
getConnector
getSource, toString
public static final Method CONTEXT_CLICK_METHOD
public ContextClickEvent(Component source, MouseEventDetails mouseEventDetails)
Copyright © 2017 Vaadin Ltd. All rights reserved.