Module com.dua3.utility.fx.controls
Package com.dua3.utility.fx.controls
Enum Class SliderWithButtons.Mode
- All Implemented Interfaces:
Serializable,Comparable<SliderWithButtons.Mode>,Constable
- Enclosing class:
- SliderWithButtons
Enum representing various modes of a slider component.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMode where the slider, its current value, and the total input value are displayed or utilized.Mode where only the slider component is enabled.Mode where only the current value of the slider is displayed.Mode where the slider displays its current value along with the total possible value. -
Method Summary
Modifier and TypeMethodDescriptionstatic SliderWithButtons.ModeReturns the enum constant of this class with the specified name.static SliderWithButtons.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SLIDER_ONLY
Mode where only the slider component is enabled. -
SLIDER_VALUE
Mode where only the current value of the slider is displayed. -
SLIDER_VALUE_TOTAL
Mode where the slider displays its current value along with the total possible value. -
SLIDER_INPUT_TOTAL
Mode where the slider, its current value, and the total input value are displayed or utilized.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-