We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.grid.contextmenu.
Class GridContextMenu.GridContextMenuItemClickEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<GridMenuItem<T>>
-
- com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuItemClickEvent<T>
-
All Implemented Interfaces:
Enclosing class:
public static class GridContextMenu.GridContextMenuItemClickEvent<T> extends ComponentEvent<GridMenuItem<T>>
Event that is fired when a
GridMenuItem
is clicked inside aGridContextMenu
.Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Modifier and Type Method and Description Grid<T>
getGrid()
Gets the Grid that the context menu is connected to.
Optional<T>
getItem()
Gets the item in the Grid that was the target of the context-click, or an empty
Optional
if the context-click didn't target any item in the Grid (eg.-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-