Package | Description |
---|---|
com.vaadin.flow.component.combobox | |
com.vaadin.flow.data.provider |
Modifier and Type | Method and Description |
---|---|
void |
ComboBox.setDataProvider(ComboBox.ItemFilter<T> itemFilter,
ListDataProvider<T> listDataProvider)
Sets a list data provider with an item filter as the data provider of
this combo box.
|
void |
ComboBox.setDataProvider(ListDataProvider<T> listDataProvider)
Sets a list data provider as the data provider of this combo box.
|
Modifier and Type | Method and Description |
---|---|
static <T> ListDataProvider<T> |
DataProvider.fromStream(Stream<T> items)
Creates a new data provider from the given stream.
|
static <T> ListDataProvider<T> |
DataProvider.ofCollection(Collection<T> items)
Creates a new data provider backed by a collection.
|
static <T> ListDataProvider<T> |
DataProvider.ofItems(T... items)
Creates a new data provider from the given items.
|
Copyright © 2018. All rights reserved.