Interface CollectionComponentProvider<C extends com.vaadin.flow.component.Component>

Type Parameters:
C - Type of component provided.
All Superinterfaces:
Serializable
All Known Subinterfaces:
CollectionLayoutProvider<C>, CollectionValueComponentProvider<T,C>
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 CollectionComponentProvider<C extends com.vaadin.flow.component.Component> extends Serializable
Catch-all interface for everything related to producing Components for a CollectionField.
Since:
2021-09-10
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    provideComponent(int index, CollectionController controller)
    Constructs the component for an object at given index.
  • Method Details

    • provideComponent

      C provideComponent(int index, CollectionController controller)
      Constructs the component for an object at given index.
      Parameters:
      index - Current index of object in the collection.
      controller - A CollectionController to be used for callbacks.
      Returns:
      Non-null component.