Class StudioColumnComponentProcessor
java.lang.Object
io.jmix.flowui.kit.meta.component.preview.processor.StudioColumnComponentProcessor
- All Implemented Interfaces:
StudioPreviewColumnProcessor,StudioPreviewComponentProcessor
Studio preview processor for
Grid columns.
Columns declared in the initial view XML are already materialized at load time by
StudioGridPreviewLoader; addColumn(com.vaadin.flow.component.Component, java.lang.String, int) reuses that column (looked up by key) instead
of creating a duplicate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreates (or reuses, if already materialized) the column identified bykeyonparent.booleanremoveColumn(com.vaadin.flow.component.Component parent, String key) Removes the column identified bykeyfromparent.
-
Constructor Details
-
StudioColumnComponentProcessor
public StudioColumnComponentProcessor()
-
-
Method Details
-
addColumn
Description copied from interface:StudioPreviewColumnProcessorCreates (or reuses, if already materialized) the column identified bykeyonparent.- Specified by:
addColumnin interfaceStudioPreviewColumnProcessor- Parameters:
index- target index, or a negative value to append- Returns:
trueif handled
-
removeColumn
Description copied from interface:StudioPreviewColumnProcessorRemoves the column identified bykeyfromparent.- Specified by:
removeColumnin interfaceStudioPreviewColumnProcessor- Returns:
trueif handled
-