Interface FilterModel.Sort<T>

Type Parameters:
T - the model item type
All Superinterfaces:
Comparator<T>
All Known Subinterfaces:
FilterListSort<T>, FilterTableSort<R,C>
Enclosing interface:
FilterModel<T>

public static interface FilterModel.Sort<T> extends Comparator<T>
Implements the sorting for a FilterModel
  • Method Details

    • sorted

      boolean sorted()
      Returns:
      true if sorting is active
    • observer

      Observer<Boolean> observer()
      Returns:
      an observer notified each time the sorting changes, the event data indicating whether the sort is active