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 Details

    • setCollectionValueComponentProvider

      void setCollectionValueComponentProvider(CollectionValueComponentProvider<T,?> provider)
      Sets the provider used to generate components for each element of the collection.
      Parameters:
      provider - A non-null provider.
    • 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-null provider.