@Deprecated public static class Grid.GridContextClickEvent extends ContextClickEvent
ContextClickEvent.ContextClickListener, ContextClickEvent.ContextClickNotifier
CONTEXT_CLICK_METHOD
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
source
Constructor and Description |
---|
GridContextClickEvent(Grid source,
com.vaadin.shared.MouseEventDetails mouseEventDetails,
GridConstants.Section section,
int rowIndex,
Object itemId,
Object propertyId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Grid |
getComponent()
Deprecated.
|
Object |
getItemId()
Deprecated.
Returns the item id of context clicked row.
|
Object |
getPropertyId()
Deprecated.
Returns property id of clicked column.
|
int |
getRowIndex()
Deprecated.
Returns the clicked row index relative to Grid section.
|
GridConstants.Section |
getSection()
Deprecated.
Return the clicked section of Grid.
|
getButton, getButtonName, getClientX, getClientY, getMouseEventDetails, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
getConnector
getSource, toString
public GridContextClickEvent(Grid source, com.vaadin.shared.MouseEventDetails mouseEventDetails, GridConstants.Section section, int rowIndex, Object itemId, Object propertyId)
public Object getItemId()
null
if header or footerpublic Object getPropertyId()
public GridConstants.Section getSection()
public int getRowIndex()
Grid.getHeaderRow(int)
and Grid.getFooterRow(int)
.public Grid getComponent()
getComponent
in class Component.Event
Copyright © 2020 Vaadin Ltd. All rights reserved.