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 aCollectionValueComponentProvider.- Since:
- 2021-08-25
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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.voidsetCollectionValueComponentProvider(CollectionValueComponentProvider<T,?> provider)Sets the provider used to generate components for each element of the collection.
-
-
-
Method Detail
-
setCollectionValueComponentProvider
void setCollectionValueComponentProvider(CollectionValueComponentProvider<T,?> provider)
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.
-
-