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.combobox.
Interface ComboBox.FetchItemsCallback<T>
Type Parameters:
T
- item (bean) type in ComboBox
All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback method for fetching items. The callback is provided with a non-null string filter, offset index and limit.
-
Method Summary
Modifier and TypeMethodDescriptionfetchItems
(String filter, int offset, int limit) Returns a stream of items that match the given filter, limiting the results with given offset and limit.
-
Method Details
-
fetchItems
Returns a stream of items that match the given filter, limiting the results with given offset and limit.
Parameters:
filter
- a non-null filter stringoffset
- the first index to fetchlimit
- the fetched item countReturns:
stream of items
-