public static class Table.TableContextClickEvent extends ContextClickEvent
ContextClickEvent.ContextClickListener, ContextClickEvent.ContextClickNotifierCONTEXT_CLICK_METHODBUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHTsource| Constructor and Description |
|---|
TableContextClickEvent(Table source,
MouseEventDetails mouseEventDetails,
Object itemId,
Object propertyId,
TableConstants.Section section) |
| Modifier and Type | Method and Description |
|---|---|
Table |
getComponent()
Gets the component where the event occurred.
|
Object |
getItemId()
Returns the item id of context clicked row.
|
Object |
getPropertyId()
Returns the property id of context clicked column.
|
TableConstants.Section |
getSection()
Returns the clicked section of Table.
|
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKeygetConnectorgetSource, toStringpublic TableContextClickEvent(Table source, MouseEventDetails mouseEventDetails, Object itemId, Object propertyId, TableConstants.Section section)
public Object getItemId()
null if header, footer
or empty area of Tablepublic Object getPropertyId()
null if we've clicked on the
empty area of the Tablepublic TableConstants.Section getSection()
public Table getComponent()
Component.EventgetComponent in class Component.EventCopyright © 2019 Vaadin Ltd. All rights reserved.