Interface ComboBox.FetchItemsCallback<T>
- Type Parameters:
T
- item (bean) type in ComboBox
- All Superinterfaces:
Serializable
- 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 count- Returns:
- stream of items
-