Package io.jmix.ui.widget.grid
Class JmixEditorBeforeSaveEvent<T>
java.lang.Object
java.util.EventObject
io.jmix.ui.widget.grid.JmixEditorBeforeSaveEvent<T>
- Type Parameters:
T
- the bean type
- All Implemented Interfaces:
Serializable
An event that is fired before a Grid editor is saved.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionJmixEditorBeforeSaveEvent
(com.vaadin.ui.components.grid.Editor<T> editor, T bean, Map<com.vaadin.ui.Grid.Column<T, ?>, com.vaadin.ui.Component> columnFieldMap) Constructor for a editor save event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
bean
-
columnFieldMap
-
-
Constructor Details
-
JmixEditorBeforeSaveEvent
public JmixEditorBeforeSaveEvent(com.vaadin.ui.components.grid.Editor<T> editor, T bean, Map<com.vaadin.ui.Grid.Column<T, ?>, com.vaadin.ui.Component> columnFieldMap) Constructor for a editor save event.- Parameters:
editor
- the source of the eventbean
- the bean being edited
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getGrid
Gets the editor grid.- Returns:
- the editor grid
-
getBean
Gets the bean being edited.- Returns:
- the bean being edited
-
getColumnFieldMap
- Returns:
- a mapping of field to columns
-