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 Summary
Modifier and TypeMethodDescriptiondefault voidfillEntries(ListSortEnum sortOrder, MessagesForValues<T> messages, Collection<T> ids) fill entries of the listbox.voidfillEntries(Collection<T> ids) fill entries of the listbox.voidfillEntryCollections(Collection<? extends IdAndNameBean<T>> entries) fill entry collections (possible values).
-
Method Details
-
fillEntryCollections
fill entry collections (possible values).- Parameters:
entries- collection of id and name beans
-
fillEntries
fill entries of the listbox.- Parameters:
ids- list of entries
-
fillEntries
fill entries of the listbox.- Parameters:
sortOrder- how to sort entriesmessages- corresponding to the id'sids- list of entries
-