Interface FilterChangeHandler<T>

Type Parameters:
T - the type of objects that the filter will be applied to
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 interface FilterChangeHandler<T>
The FilterChangeHandler interface is designed to handle changes in filters. It declares a single method, onFilterChange, to be implemented by any class that wishes to respond to changes in filter criteria.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFilterChange(Filter<T> filter, String origin)
    Called when there is a change in the filter criteria.
  • Method Details

    • onFilterChange

      void onFilterChange(Filter<T> filter, String origin)
      Called when there is a change in the filter criteria.
      Parameters:
      filter - the updated filter that is being applied
      origin - a string indicating the origin or source of the filter change (can be null)