Enum Class SliderWithButtons.Mode

java.lang.Object
java.lang.Enum<SliderWithButtons.Mode>
com.dua3.utility.fx.controls.SliderWithButtons.Mode
All Implemented Interfaces:
Serializable, Comparable<SliderWithButtons.Mode>, Constable
Enclosing class:
SliderWithButtons

public static enum SliderWithButtons.Mode extends Enum<SliderWithButtons.Mode>
Enum representing various modes of a slider component.
  • Enum Constant Details

    • SLIDER_ONLY

      public static final SliderWithButtons.Mode SLIDER_ONLY
      Mode where only the slider component is enabled.
    • SLIDER_VALUE

      public static final SliderWithButtons.Mode SLIDER_VALUE
      Mode where only the current value of the slider is displayed.
    • SLIDER_VALUE_TOTAL

      public static final SliderWithButtons.Mode SLIDER_VALUE_TOTAL
      Mode where the slider displays its current value along with the total possible value.
    • SLIDER_INPUT_TOTAL

      public static final SliderWithButtons.Mode SLIDER_INPUT_TOTAL
      Mode where the slider, its current value, and the total input value are displayed or utilized.
  • Method Details

    • values

      public static SliderWithButtons.Mode[] 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

      public static SliderWithButtons.Mode valueOf(String name)
      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 name
      NullPointerException - if the argument is null