Module javafx.base

Interface ObservableNumberValue

    • Method Detail

      • intValue

        int intValue()
        Returns the value of this ObservableNumberValue as an int . If the value is not an int, a standard cast is performed.
        Returns:
        The value of this ObservableNumberValue as an int
      • longValue

        long longValue()
        Returns the value of this ObservableNumberValue as a long . If the value is not a long, a standard cast is performed.
        Returns:
        The value of this ObservableNumberValue as a long
      • floatValue

        float floatValue()
        Returns the value of this ObservableNumberValue as a float. If the value is not a float, a standard cast is performed.
        Returns:
        The value of this ObservableNumberValue as a float
      • doubleValue

        double doubleValue()
        Returns the value of this ObservableNumberValue as a double. If the value is not a double, a standard cast is performed.
        Returns:
        The value of this ObservableNumberValue as a double