Interface ComponentGroupConfigurator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ComponentGroupConfigurator
Configures an entire group of components.
Since:
2022-09-01
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    configureComponentGroup(T object, String groupName, List<Property<T,?>> definitions, List<? extends com.vaadin.flow.component.HasValue<?,?>> components)
    Configures the given group of components.
  • Method Details

    • configureComponentGroup

      <T> void configureComponentGroup(T object, String groupName, List<Property<T,?>> definitions, List<? extends com.vaadin.flow.component.HasValue<?,?>> components)
      Configures the given group of components.
      Type Parameters:
      T - Type of the object.
      Parameters:
      object - Object about to be displayed.
      groupName - Name of the group. May be null to indicate that all components (regardless of their individual groups) are given for configuration.
      definitions - Definitions of properties in the group.
      components - Components that correspond to the properties. Note: it is possible that the list is not in the order of definitions.