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 TypeMethodDescriptionprovideComponent(int index, CollectionController controller) Constructs the component for an object at given index.
-
Method Details
-
provideComponent
Constructs the component for an object at given index.- Parameters:
index- Current index ofobjectin the collection.controller- ACollectionControllerto be used for callbacks.- Returns:
- Non-
nullcomponent.
-