Class OptionalDoubleSetting


  • public abstract class OptionalDoubleSetting
    extends OptionalSetting
    Represents an optional setting with a current value and a valid range.
    • Constructor Detail

      • OptionalDoubleSetting

        public OptionalDoubleSetting()
    • Method Detail

      • getMin

        public abstract double getMin()
        Gets the minimal possible value of the setting.
        Returns:
        the minimal possible value of the setting
      • getMax

        public abstract double getMax()
        Gets the maximal possible value of the setting.
        Returns:
        the maximal possible value of setting
      • getValue

        public abstract double getValue()
        Gets the current value.
        Returns:
        the current value, if OptionalValue.isAvailable() returns true, otherwise returned value is undefined.
      • setValue

        public abstract void setValue​(double value)
        Sets the current setting value.
        Parameters:
        value - setting value to set