Class EditorEvent<T>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.grid.editor.EditorEvent<T>
- Type Parameters:
T
- the item type
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EditorCancelEvent
,EditorCloseEvent
,EditorOpenEvent
,EditorSaveEvent
Base class for events fired in
Editor
.- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
EditorEvent
Constructor for the editor event.- Parameters:
editor
- the source of the eventitem
- the item being edited
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getGrid
Gets the editors' grid.- Returns:
- the editors' grid
-
getItem
Gets the item being edited.- Returns:
- the item being edited
-