Interface HasCollectionValueComponentProvider<T>
- Type Parameters:
T- Type of the element in the collection.
- All Known Subinterfaces:
WithCollectionValueComponentProviderMixin<T,SELF>
- All Known Implementing Classes:
CollectionField,MapField
public interface HasCollectionValueComponentProvider<T>
Marker interface for objects that have a
CollectionValueComponentProvider.- Since:
- 2021-08-25
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescription<W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,W> Returns the current provider used to generate components.voidSets the provider used to generate components for each element of the collection.
-
Method Details
-
setCollectionValueComponentProvider
Sets the provider used to generate components for each element of the collection.- Parameters:
provider- A non-nullprovider.
-
getCollectionValueComponentProvider
<W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> CollectionValueComponentProvider<T,W> getCollectionValueComponentProvider()Returns the current provider used to generate components.- Type Parameters:
W- Generic type of the actual component.- Returns:
- A non-
nullprovider.
-