Module javafx.base

Interface WritableIntegerValue

    • Method Detail

      • set

        void set​(int value)
        Set the wrapped value. Unlike setValue(java.lang.Number), this method uses primitive int.
        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" instead.

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