Validated Choice List
constructor(defaultValues: List<T>, choices: List<T>, handler: EntryHandler<T>, translationProvider: BiFunction<T, String, MutableText> = BiFunction { t, _ -> t.transLit(t.toString()) }, descriptionProvider: BiFunction<T, String, Text> = BiFunction { t, _ -> t.descLit("") }, widgetType: ValidatedChoiceList.WidgetType = WidgetType.POPUP)
Deprecated
Use toChoiceSet from ValidatedChoice/List/Set when possible
Parameters
T
the choice type
default Values
the choices that are "active" by default. Can be empty.
choices
List
handler
EntryHandler to provide validation tasks for individual choice elements
widget Type
WidgetType defines the GUI selection type. Defaults to POPUP