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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidfillEntries(ListSortEnum sortOrder, MessagesForValues<T> messages, Collection<T> pids)fill entries of the listbox.voidfillEntries(Collection<T> pids)fill entries of the listbox.voidfillEntryCollections(Collection<? extends IdAndNameBean<T>> pentries)fill entry collections (possible values).
-
-
-
Method Detail
-
fillEntryCollections
void fillEntryCollections(Collection<? extends IdAndNameBean<T>> pentries)
fill entry collections (possible values).- Parameters:
pentries- collection of id and name beans
-
fillEntries
void fillEntries(Collection<T> pids)
fill entries of the listbox.- Parameters:
pids- list of entries
-
fillEntries
default void fillEntries(ListSortEnum sortOrder, MessagesForValues<T> messages, Collection<T> pids)
fill entries of the listbox.- Parameters:
sortOrder- how to sort entriesmessages- corresponding to the id'spids- list of entries
-
-