public static class Tree.TreeContextClickEvent extends ContextClickEvent
ContextClickEvent.ContextClickListener, ContextClickEvent.ContextClickNotifierCONTEXT_CLICK_METHODBUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHTsource| Constructor and Description |
|---|
TreeContextClickEvent(Tree source,
Object itemId,
MouseEventDetails mouseEventDetails) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
getComponent()
Gets the component where the event occurred.
|
Object |
getItemId()
Returns the item id of context clicked row.
|
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKeygetConnectorgetSource, toStringpublic TreeContextClickEvent(Tree source, Object itemId, MouseEventDetails mouseEventDetails)
public Tree getComponent()
Component.EventgetComponent in class Component.Eventpublic Object getItemId()
null if no row is
present at the locationCopyright © 2023 Vaadin Ltd. All rights reserved.