Class EditComponentGenerationContext<T>
java.lang.Object
io.jmix.flowui.component.grid.editor.EditComponentGenerationContext<T>
- Type Parameters:
T
- the type of the row/item being edited inDataGridEditor
Contains information for a function that returns the column editor component
used by
DataGridEditor
.-
Field Summary
Modifier and TypeFieldDescriptionprotected final T
protected final Consumer<SupportsStatusChangeHandler.StatusContext<?>>
protected final ValueSourceProvider
-
Constructor Summary
ConstructorDescriptionEditComponentGenerationContext
(T item, ValueSourceProvider valueSourceProvider, Consumer<SupportsStatusChangeHandler.StatusContext<?>> statusHandler) -
Method Summary
-
Field Details
-
item
-
valueSourceProvider
-
statusHandler
-
-
Constructor Details
-
EditComponentGenerationContext
public EditComponentGenerationContext(T item, ValueSourceProvider valueSourceProvider, @Nullable Consumer<SupportsStatusChangeHandler.StatusContext<?>> statusHandler)
-
-
Method Details
-
getItem
- Returns:
- an item being edited in
DataGridEditor
-
getValueSourceProvider
- Returns:
- a provider to obtain instances of
ValueSource
-
getStatusHandler
- Returns:
- a handler to be set to a component that implements
SupportsStatusChangeHandler
-