Class DataGrid.EditorFieldGenerationContext<T>

java.lang.Object
io.jmix.ui.component.DataGrid.EditorFieldGenerationContext<T>
Type Parameters:
T - the bean type
Enclosing interface:
DataGrid<E>

public static class DataGrid.EditorFieldGenerationContext<T> extends Object
class which stores information that can be used when creating a component for a DataGrid editor.
  • Field Details

  • Constructor Details

    • EditorFieldGenerationContext

      public EditorFieldGenerationContext(T item, ValueSourceProvider valueSourceProvider)
  • Method Details

    • getItem

      public T getItem()
      Returns:
      an item that is being edited
    • getValueSourceProvider

      public ValueSourceProvider getValueSourceProvider()
      Returns:
      a value source provider in order to obtain value sources