Annotation Interface DynamicComboBox
Renders a config field as a combo box whose values come from a config method.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionText for the empty selection.Optional no-argument method called on each choice to get the display label.Optional tooltip text.Optional no-argument method called on each choice to get the persisted value.
-
Element Details
-
key
String keyStable storage key for the config value. -
label
String labelUser-facing label. -
tooltip
String tooltipOptional tooltip text.- Default:
""
-
values
String valuesNo-argument config method returning an array or iterable of choices. -
value
String valueOptional no-argument method called on each choice to get the persisted value.- Default:
""
-
labelMethod
String labelMethodOptional no-argument method called on each choice to get the display label.- Default:
""
-
emptyLabel
String emptyLabelText for the empty selection.- Default:
"Select"
-