Class SelectorCustomization
-
- All Implemented Interfaces:
public final class SelectorCustomizationUse this class to set the visual style of options that users can select during a single-select or a multi-select challenge.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerselectorColorprivate final TextStyleCustomizationlabel
-
Constructor Summary
Constructors Constructor Description SelectorCustomization(Integer selectorColor, TextStyleCustomization label)
-
Method Summary
Modifier and Type Method Description final IntegergetSelectorColor()final UnitsetSelectorColor(Integer selectorColor)final TextStyleCustomizationgetLabel()final Unitlabel(Function1<TextStyleCustomization, Unit> block)DSL Method for Selector Label setup -
-
Constructor Detail
-
SelectorCustomization
SelectorCustomization(Integer selectorColor, TextStyleCustomization label)
- Parameters:
selectorColor- Selector colour resource referencelabel- Customization for selector text
-
-
Method Detail
-
getSelectorColor
final Integer getSelectorColor()
-
setSelectorColor
final Unit setSelectorColor(Integer selectorColor)
- Parameters:
selectorColor- Selector colour resource reference
-
getLabel
final TextStyleCustomization getLabel()
-
label
final Unit label(Function1<TextStyleCustomization, Unit> block)
DSL Method for Selector Label setup
-
-
-
-