Interface SortableIdAndName<T extends Comparable<T>>

Type Parameters:
T - type of the id
All Known Implementing Classes:
CountryListBox, FieldTypeListBox, SortableIdAndNameListBox, SortableIdAndNameSearchableListBox

public interface SortableIdAndName<T extends Comparable<T>>
functional interface for sortable id and name widgets.
Author:
Manfred Tremmel
  • Method Details

    • fillEntryCollections

      void fillEntryCollections(Collection<? extends IdAndNameBean<T>> entries)
      fill entry collections (possible values).
      Parameters:
      entries - collection of id and name beans
    • fillEntries

      void fillEntries(Collection<T> ids)
      fill entries of the listbox.
      Parameters:
      ids - list of entries
    • fillEntries

      default void fillEntries(ListSortEnum sortOrder, MessagesForValues<T> messages, Collection<T> ids)
      fill entries of the listbox.
      Parameters:
      sortOrder - how to sort entries
      messages - corresponding to the id's
      ids - list of entries