com.vaadin.flow.component.grid.contextmenu.
Class GridContextMenu.GridContextMenuOpenedEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<R>
-
- com.vaadin.flow.component.contextmenu.GeneratedVaadinContextMenu.OpenedChangeEvent<GridContextMenu<T>>
-
- com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuOpenedEvent<T>
-
All Implemented Interfaces:
Enclosing class:
public static class GridContextMenu.GridContextMenuOpenedEvent<T> extends GeneratedVaadinContextMenu.OpenedChangeEvent<GridContextMenu<T>>
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description GridContextMenuOpenedEvent(GridContextMenu<T> source, boolean fromClient)
-
Method Summary
All Methods Modifier and Type Method and Description Optional<String>
getColumnId()
Gets the column ID in the Grid that was the target of the context-click, or an empty
Optional
if the context-click didn't target any application column in the Grid (eg.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.contextmenu.GeneratedVaadinContextMenu.OpenedChangeEvent
isOpened
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
GridContextMenuOpenedEvent
public GridContextMenuOpenedEvent(GridContextMenu<T> source, boolean fromClient)
-
-