Interface OptionInstance.SliderableValueSet<T>
- All Superinterfaces:
OptionInstance.ValueSet<T>
- All Known Subinterfaces:
OptionInstance.IntRangeBase, OptionInstance.SliderableOrCyclableValueSet<T>
- All Known Implementing Classes:
OptionInstance.ClampingLazyMaxIntRange, OptionInstance.IntRange, OptionInstance.SliderableEnum, OptionInstance.UnitDouble
- Enclosing class:
OptionInstance<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault Function<OptionInstance<T>, AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> tooltip, Options options, int x, int y, int width, Consumer<T> onValueChanged) fromSliderValue(double slider) doubletoSliderValue(T value) Methods inherited from interface OptionInstance.ValueSet
codec, validateValue
-
Method Details
-
toSliderValue
-
next
-
previous
-
fromSliderValue
-
applyValueImmediately
default boolean applyValueImmediately() -
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>
-