| Package | Description |
|---|---|
| com.vaadin.flow.component.combobox | |
| com.vaadin.flow.component.combobox.dataview |
| Modifier and Type | Method and Description |
|---|---|
ComboBoxListDataView<T> |
ComboBox.getListDataView()
Gets the list data view for the ComboBox.
|
ComboBoxListDataView<T> |
ComboBox.setItems(Collection<T> items)
Sets the items from the given Collection and returns a
ListDataView that provides information and allows operations on
the items. |
ComboBoxListDataView<T> |
ComboBox.setItems(ComboBox.ItemFilter<T> itemFilter,
Collection<T> items)
Sets the data items of this combo box and a filtering function for
defining which items are displayed when user types into the combo box.
|
ComboBoxListDataView<T> |
ComboBox.setItems(ComboBox.ItemFilter<T> itemFilter,
ListDataProvider<T> listDataProvider)
Sets a ListDataProvider for this combo box and a filtering function for
defining which items are displayed when user types into the combo box.
|
ComboBoxListDataView<T> |
ComboBox.setItems(ComboBox.ItemFilter<T> itemFilter,
T... items)
Sets the data items of this combo box and a filtering function for
defining which items are displayed when user types into the combo box.
|
ComboBoxListDataView<T> |
ComboBox.setItems(ListDataProvider<T> dataProvider) |
| Modifier and Type | Method and Description |
|---|---|
ComboBoxListDataView<T> |
ComboBoxListDataView.addFilter(SerializablePredicate<T> filter)
Adds a filter to be applied to all queries.
|
ComboBoxListDataView<T> |
ComboBoxListDataView.removeFilters()
Removes all in-memory filters set or added.
|
ComboBoxListDataView<T> |
ComboBoxListDataView.setFilter(SerializablePredicate<T> filter)
Sets a filter to be applied to the data.
|
Copyright © 2021. All rights reserved.