Interface AbstractSelectObjectDataBinding<V>

Type Parameters:
V - Type of the selectable values
All Superinterfaces:
AbstractDataBinding<V>
All Known Implementing Classes:
AbstractAutoCompleteTextDataBinding, AbstractComboboxDataBinding, AutoCompleteTextDataBinding, ComboboxDataBinding, ContainerAutoCompleteTextDataBinding, ContainerComboboxDataBinding, EmfAutoCompleteTextDataBinding, EmfComboboxDataBinding

public interface AbstractSelectObjectDataBinding<V> extends AbstractDataBinding<V>
Extended data binding interface for selectable objects that adds filtering and sorting capabilities. Builds upon AbstractDataBinding to provide functionality for managing collections of selectable values.

Key additional features:

  • Value filtering through predicates
  • Custom sorting via comparators
  • Bulk value population
Author:
Ionov Ivan
See Also:
  • Method Details

    • setFilter

      void setFilter(Predicate<V> filter)
      Sets a filter predicate to determine which values should be included.
      Parameters:
      filter - Predicate that returns true for values to include
    • setComparator

      void setComparator(Comparator<V> comparator)
      Sets a comparator to define the sorting order of values.
      Parameters:
      comparator - Comparator to use for sorting values
    • values

      void values(List<V> values)
      Sets the complete list of available values for selection.
      Parameters:
      values - List of all possible values