Class DataGrid.AbstractDataGridEditorEvent<E>

java.lang.Object
java.util.EventObject
io.jmix.ui.component.DataGrid.AbstractDataGridEvent
io.jmix.ui.component.DataGrid.AbstractDataGridEditorEvent<E>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataGrid.EditorCloseEvent, DataGrid.EditorOpenEvent, DataGrid.EditorPostCommitEvent, DataGrid.EditorPreCommitEvent
Enclosing interface:
DataGrid<E>

public abstract static class DataGrid.AbstractDataGridEditorEvent<E> extends DataGrid.AbstractDataGridEvent
The root class from which all DataGrid editor event state objects shall be derived.
See Also:
  • Field Details

  • Constructor Details

    • AbstractDataGridEditorEvent

      public AbstractDataGridEditorEvent(DataGrid component, E item, Map<String,Field> fields)
      Parameters:
      component - the DataGrid from which this event originates
      item - the editing item
  • Method Details

    • getItem

      public E getItem()
      Returns:
      an item
    • getFields

      public Map<String,Field> getFields()
      Returns:
      the components that are used in the editor
    • getField

      public Field getField(String columnId)
      Returns the field corresponding to the given column id.
      Parameters:
      columnId - a column id
      Returns:
      the field corresponding to the given column id