Package io.jmix.ui.component
Class DataGrid.EditorCloseEvent<E>
java.lang.Object
java.util.EventObject
io.jmix.ui.component.DataGrid.AbstractDataGridEvent
io.jmix.ui.component.DataGrid.AbstractDataGridEditorEvent<E>
io.jmix.ui.component.DataGrid.EditorCloseEvent<E>
- All Implemented Interfaces:
Serializable
An event that is fired when the DataGrid editor is closed.
Provides access to the components that were used in the editor,
giving the possibility to use their values programmatically.
- See Also:
-
Field Summary
Fields inherited from class io.jmix.ui.component.DataGrid.AbstractDataGridEditorEvent
fields, item
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jmix.ui.component.DataGrid.AbstractDataGridEditorEvent
getField, getFields, getItem
Methods inherited from class io.jmix.ui.component.DataGrid.AbstractDataGridEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
isCancelled
protected boolean isCancelled
-
-
Constructor Details
-
EditorCloseEvent
Constructor for a DataGrid editor close event.- Parameters:
component
- the DataGrid from which this event originatesitem
- the edited itemfields
- fields that correspond to column ids
-
EditorCloseEvent
Constructor for a DataGrid editor close event.- Parameters:
component
- the DataGrid from which this event originatesitem
- the edited itemfields
- fields that correspond to column idsisCancelled
- whether editor was closed by cancel button
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Returns:
true
if editor was closed by cancel button
-