Module javafx.base

Interface WritableBooleanValue

    • Method Summary

      Modifier and Type Method Description
      boolean get()
      Get the wrapped value.
      void set​(boolean value)
      Set the wrapped value.
      void setValue​(Boolean value)
      Set the wrapped value.
    • Method Detail

      • set

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

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

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

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