T
- item (bean) type in ComboBox@FunctionalInterface public static interface ComboBox.FetchItemsCallback<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
Stream<T> |
fetchItems(String filter,
int offset,
int limit)
Returns a stream of items that match the given filter, limiting the
results with given offset and limit.
|
Stream<T> fetchItems(String filter, int offset, int limit)
This method is called after the size of the data set is asked from a related size callback. The offset and limit are promised to be within the size of the data set.
filter
- a non-null filter stringoffset
- the first index to fetchlimit
- the fetched item countCopyright © 2017 Vaadin Ltd. All rights reserved.