Package io.jmix.ui.widget.grid
Class JmixEditorCancelEvent<T>
java.lang.Object
java.util.EventObject
com.vaadin.ui.components.grid.EditorCancelEvent<T>
io.jmix.ui.widget.grid.JmixEditorCancelEvent<T>
- All Implemented Interfaces:
Serializable
public class JmixEditorCancelEvent<T>
extends com.vaadin.ui.components.grid.EditorCancelEvent<T>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionJmixEditorCancelEvent
(com.vaadin.ui.components.grid.Editor<T> editor, T bean, Map<com.vaadin.ui.Grid.Column<T, ?>, com.vaadin.ui.Component> columnFieldMap, boolean isCancelled) Constructor for a editor cancel event. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class com.vaadin.ui.components.grid.EditorCancelEvent
getBean, getGrid, getSource
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
columnFieldMap
-
isCancelled
protected boolean isCancelled
-
-
Constructor Details
-
JmixEditorCancelEvent
public JmixEditorCancelEvent(com.vaadin.ui.components.grid.Editor<T> editor, T bean, Map<com.vaadin.ui.Grid.Column<T, ?>, com.vaadin.ui.Component> columnFieldMap, boolean isCancelled) Constructor for a editor cancel event.- Parameters:
editor
- the source of the eventbean
- the bean being edited
-
-
Method Details
-
getColumnFieldMap
- Returns:
- a mapping of field to columns
-
isCancelled
public boolean isCancelled()- Returns:
true
if editor was closed by cancel button
-