We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.select.data.
Class SelectListDataView<T>
- java.lang.Object
-
- com.vaadin.flow.data.provider.AbstractDataView<T>
-
- com.vaadin.flow.data.provider.AbstractListDataView<T>
-
- com.vaadin.flow.component.select.data.SelectListDataView<T>
-
Type Parameters:
T
- item typeAll Implemented Interfaces:
DataView<T>, ListDataView<T,AbstractListDataView<T>>, Serializable
public class SelectListDataView<T> extends AbstractListDataView<T>
Data view implementation for
Select
with in-memory list data. Provides information on the data and allows operations on it.See Also:
-
-
Field Summary
-
Fields inherited from class com.vaadin.flow.data.provider.AbstractDataView
component, dataProviderSupplier, NULL_IDENTIFIER_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor and Description SelectListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, Select<T> select)
Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation.
-
Method Summary
-
Methods inherited from class com.vaadin.flow.data.provider.AbstractListDataView
addFilter, addItem, addItemAfter, addItemBefore, addItems, addItemsAfter, addItemsBefore, addSortComparator, addSortOrder, contains, getDataProvider, getItem, getItemCount, getNextItem, getPreviousItem, getSupportedDataProviderType, removeFilters, removeItem, removeItems, removeSorting, setFilter, setSortComparator, setSortOrder, validateItemIndex
-
Methods inherited from class com.vaadin.flow.data.provider.AbstractDataView
addItemCountChangeListener, equals, getIdentifierProvider, getItems, refreshItem, setIdentifierProvider, verifyDataProviderType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.data.provider.DataView
addItemCountChangeListener, getItems, refreshItem, setIdentifierProvider
-
-
-
-
Constructor Detail
-
SelectListDataView
public SelectListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, Select<T> select)
Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation.
Parameters:
dataProviderSupplier
- supplier from which the DataProvider can be gottenselect
- select component that the dataView is bound to
-
-