Interface OptionInstance.CycleableValueSet<T>
- All Superinterfaces:
OptionInstance.ValueSet<T>
- All Known Subinterfaces:
OptionInstance.SliderableOrCyclableValueSet<T>
- All Known Implementing Classes:
OptionInstance.AltEnum, OptionInstance.ClampingLazyMaxIntRange, OptionInstance.Enum, OptionInstance.LazyEnum
- Enclosing class:
OptionInstance<T>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault Function<OptionInstance<T>, AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> tooltip, Options options, int x, int y, int width, Consumer<T> onValueChanged) Methods inherited from interface OptionInstance.ValueSet
codec, validateValue
-
Method Details
-
valueListSupplier
CycleButton.ValueListSupplier<T> valueListSupplier() -
valueSetter
-
createButton
default Function<OptionInstance<T>, AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> tooltip, Options options, int x, int y, int width, Consumer<T> onValueChanged) - Specified by:
createButtonin interfaceOptionInstance.ValueSet<T>
-