| Package | Description |
|---|---|
| com.vaadin.data.provider | |
| com.vaadin.ui |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComboBox.setDataProvider(ComboBox.CaptionFilter captionFilter,
ListDataProvider<T> listDataProvider)
Sets a list data provider with an item caption 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.
|
Copyright © 2018 Vaadin Ltd. All rights reserved.