Interface ComboBox.FetchItemsCallback<T>

Type Parameters:
T - item (bean) type in ComboBox
All Superinterfaces:
Serializable
Enclosing class:
ComboBox<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ComboBox.FetchItemsCallback<T> extends Serializable
A callback method for fetching items. The callback is provided with a non-null string filter, offset index and limit.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • fetchItems

      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.
      Parameters:
      filter - a non-null filter string
      offset - the first index to fetch
      limit - the fetched item count
      Returns:
      stream of items