Uses of Interface
org.vaadin.miki.superfields.collections.CollectionValueComponentProvider
-
Packages that use CollectionValueComponentProvider Package Description org.vaadin.miki.superfields.collections org.vaadin.miki.superfields.util -
-
Uses of CollectionValueComponentProvider in org.vaadin.miki.superfields.collections
Methods in org.vaadin.miki.superfields.collections that return CollectionValueComponentProvider Modifier and Type Method Description <W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,W>CollectionField. getCollectionValueComponentProvider()<W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,W>HasCollectionValueComponentProvider. getCollectionValueComponentProvider()Returns the current provider used to generate components.<W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,Map.Entry<K,V>>>
CollectionValueComponentProvider<Map.Entry<K,V>,W>MapField. getCollectionValueComponentProvider()Methods in org.vaadin.miki.superfields.collections with parameters of type CollectionValueComponentProvider Modifier and Type Method Description voidCollectionField. setCollectionValueComponentProvider(CollectionValueComponentProvider<T,?> collectionValueComponentProvider)voidHasCollectionValueComponentProvider. setCollectionValueComponentProvider(CollectionValueComponentProvider<T,?> provider)Sets the provider used to generate components for each element of the collection.voidMapField. setCollectionValueComponentProvider(CollectionValueComponentProvider<Map.Entry<K,V>,?> provider)default SELFWithCollectionValueComponentProviderMixin. withCollectionComponentProvider(CollectionValueComponentProvider<T,?> provider)ChainsHasCollectionValueComponentProvider.setCollectionValueComponentProvider(CollectionValueComponentProvider)and returns itself.Constructors in org.vaadin.miki.superfields.collections with parameters of type CollectionValueComponentProvider Constructor Description CollectionField(com.vaadin.flow.function.SerializableSupplier<C> emptyCollectionSupplier, CollectionLayoutProvider<?> collectionLayoutProvider, CollectionValueComponentProvider<T,?> collectionValueComponentProvider)Creates new field.CollectionField(com.vaadin.flow.function.SerializableSupplier<C> emptyCollectionSupplier, CollectionValueComponentProvider<T,?> collectionValueComponentProvider)Creates new field usingCollectionField.DEFAULT_LAYOUT_PROVIDERas root layout provider.MapField(com.vaadin.flow.function.SerializableSupplier<Map<K,V>> emptyMapSupplier, CollectionLayoutProvider<?> mainLayoutProvider, CollectionValueComponentProvider<Map.Entry<K,V>,?> entryValueComponentProvider)Creates a newMapFieldusing given empty map provider, and layout and entry component providers for the underlyingCollectionField. -
Uses of CollectionValueComponentProvider in org.vaadin.miki.superfields.util
Methods in org.vaadin.miki.superfields.util that return CollectionValueComponentProvider Modifier and Type Method Description static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. columnWithHeaderAndFooterRows(CollectionValueComponentProvider<T,F> inner, Collection<CollectionComponentProvider<?>> headerComponents, Collection<CollectionComponentProvider<?>> footerComponents)ACollectionValueComponentProviderfor a column-basedHeaderFooterFieldWrapperwhere header and footer are row-basedFlexLayouts.static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T> & com.vaadin.flow.component.HasLabel>
CollectionValueComponentProvider<T,F>CollectionComponentProviders. labelledField(Supplier<F> fieldSupplier, String label)Returns aCollectionValueComponentProviderthat generates a given field and sets its label.static <K,V,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,K>,W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,V>>
CollectionValueComponentProvider<Map.Entry<K,V>,MapEntryField<K,V>>CollectionComponentProviders. mapEntryField(com.vaadin.flow.function.SerializableSupplier<C> keyComponentSupplier, com.vaadin.flow.function.SerializableSupplier<W> valueComponentSupplier)ACollectionValueComponentProviderthat produces aMapEntryFieldwith given key and value suppliers.static <K,V,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasLabel & com.vaadin.flow.component.HasValue<?,K>,W extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasLabel & com.vaadin.flow.component.HasValue<?,V>>
CollectionValueComponentProvider<Map.Entry<K,V>,MapEntryField<K,V>>CollectionComponentProviders. mapEntryField(String keyLabel, com.vaadin.flow.function.SerializableSupplier<C> keyComponentSupplier, String valueLabel, com.vaadin.flow.function.SerializableSupplier<W> valueComponentSupplier)ACollectionValueComponentProviderthat produces aMapEntryFieldwith given key and value suppliers, but also sets labels to both produced components..static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. row(CollectionValueComponentProvider<T,F> inner, Collection<CollectionComponentProvider<?>> headerComponents, Collection<CollectionComponentProvider<?>> footerComponents)ACollectionValueComponentProviderthat wraps given field with a layout containing header and footer.static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. rowWithRemoveButtonFirst(CollectionValueComponentProvider<T,F> inner, String removeButtonText)ACollectionValueComponentProviderthat wraps given field with a layout containing a header and footer.static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. rowWithRemoveButtonLast(CollectionValueComponentProvider<T,F> inner, String removeButtonText)ACollectionValueComponentProviderthat wraps given field with a layout containing a header and footer.Methods in org.vaadin.miki.superfields.util with parameters of type CollectionValueComponentProvider Modifier and Type Method Description static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. columnWithHeaderAndFooterRows(CollectionValueComponentProvider<T,F> inner, Collection<CollectionComponentProvider<?>> headerComponents, Collection<CollectionComponentProvider<?>> footerComponents)ACollectionValueComponentProviderfor a column-basedHeaderFooterFieldWrapperwhere header and footer are row-basedFlexLayouts.static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. row(CollectionValueComponentProvider<T,F> inner, Collection<CollectionComponentProvider<?>> headerComponents, Collection<CollectionComponentProvider<?>> footerComponents)ACollectionValueComponentProviderthat wraps given field with a layout containing header and footer.static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. rowWithRemoveButtonFirst(CollectionValueComponentProvider<T,F> inner, String removeButtonText)ACollectionValueComponentProviderthat wraps given field with a layout containing a header and footer.static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
CollectionValueComponentProvider<T,HeaderFooterFieldWrapper<T,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>>CollectionComponentProviders. rowWithRemoveButtonLast(CollectionValueComponentProvider<T,F> inner, String removeButtonText)ACollectionValueComponentProviderthat wraps given field with a layout containing a header and footer.
-