| Package | Description |
|---|---|
| org.vaadin.miki.superfields.collections | |
| org.vaadin.miki.superfields.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CollectionLayoutProvider<C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents>
Interface for objects providing a layout for any
CollectionField. |
interface |
CollectionValueComponentProvider<T,C extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>>
Interface for objects providing a component capable of displaying a single element of a
CollectionField. |
| Modifier and Type | Method and Description |
|---|---|
static CollectionComponentProvider<com.vaadin.flow.component.button.Button> |
CollectionComponentProviders.addFirstButton(String text)
A
CollectionComponentProvider that produces a Button that adds an element to the collection by calling CollectionController.add(int) with 0 as parameter. |
static CollectionComponentProvider<com.vaadin.flow.component.button.Button> |
CollectionComponentProviders.addLastButton(String text)
A
CollectionComponentProvider that produces a Button that adds an element to the collection by calling CollectionController.add(). |
static CollectionComponentProvider<com.vaadin.flow.component.button.Button> |
CollectionComponentProviders.removeAllButton(String text)
A
CollectionComponentProvider that produces a Button that clears the collection by calling CollectionController.removeAll(). |
static CollectionComponentProvider<IndexedButton> |
CollectionComponentProviders.removeButton(String text)
A
CollectionComponentProvider that produces an IndexedButton that removes a given element from the collection by calling CollectionController.remove(int). |
| Modifier and Type | Method and Description |
|---|---|
static CollectionLayoutProvider<HeaderFooterLayoutWrapper<com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>> |
CollectionComponentProviders.columnWithHeaderAndFooterRows(Collection<CollectionComponentProvider<?>> headerComponents,
Collection<CollectionComponentProvider<?>> footerComponents)
|
static CollectionLayoutProvider<HeaderFooterLayoutWrapper<com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout,com.vaadin.flow.component.orderedlayout.FlexLayout>> |
CollectionComponentProviders.columnWithHeaderAndFooterRows(Collection<CollectionComponentProvider<?>> headerComponents,
Collection<CollectionComponentProvider<?>> footerComponents)
|
static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> |
CollectionComponentProviders.columnWithHeaderAndFooterRows(CollectionValueComponentProvider<T,F> inner,
Collection<CollectionComponentProvider<?>> headerComponents,
Collection<CollectionComponentProvider<?>> footerComponents)
A
CollectionValueComponentProvider for a column-based HeaderFooterFieldWrapper where header and footer are row-based FlexLayouts. |
static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> |
CollectionComponentProviders.columnWithHeaderAndFooterRows(CollectionValueComponentProvider<T,F> inner,
Collection<CollectionComponentProvider<?>> headerComponents,
Collection<CollectionComponentProvider<?>> footerComponents)
A
CollectionValueComponentProvider for a column-based HeaderFooterFieldWrapper where header and footer are row-based FlexLayouts. |
static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> |
CollectionComponentProviders.row(CollectionValueComponentProvider<T,F> inner,
Collection<CollectionComponentProvider<?>> headerComponents,
Collection<CollectionComponentProvider<?>> footerComponents)
A
CollectionValueComponentProvider that 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>> |
CollectionComponentProviders.row(CollectionValueComponentProvider<T,F> inner,
Collection<CollectionComponentProvider<?>> headerComponents,
Collection<CollectionComponentProvider<?>> footerComponents)
A
CollectionValueComponentProvider that wraps given field with a layout containing header and footer. |
Copyright © 2024 Miki. All rights reserved.