Interface StudioPreviewColumnProcessor

All Superinterfaces:
StudioPreviewComponentProcessor
All Known Implementing Classes:
StudioColumnComponentProcessor

public interface StudioPreviewColumnProcessor extends StudioPreviewComponentProcessor
Creates/removes a keyed column on a Grid-like container.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addColumn(com.vaadin.flow.component.Component parent, String key, int index)
    Creates (or reuses, if already materialized) the column identified by key on parent.
    boolean
    removeColumn(com.vaadin.flow.component.Component parent, String key)
    Removes the column identified by key from parent.
  • Method Details

    • addColumn

      boolean addColumn(com.vaadin.flow.component.Component parent, String key, int index)
      Creates (or reuses, if already materialized) the column identified by key on parent.
      Parameters:
      index - target index, or a negative value to append
      Returns:
      true if handled
    • removeColumn

      boolean removeColumn(com.vaadin.flow.component.Component parent, String key)
      Removes the column identified by key from parent.
      Returns:
      true if handled