Module javafx.base

Interface WritableDoubleValue

    • Method Detail

      • set

        void set​(double value)
        Set the wrapped value. Unlike setValue(java.lang.Number), this method uses primitive double.
        Parameters:
        value - The new value
      • setValue

        void setValue​(Number value)
        Set the wrapped value.

        Note: this method should accept null without throwing an exception, setting "0.0" instead.

        Specified by:
        setValue in interface WritableValue<Number>
        Parameters:
        value - The new value