Module javafx.base

Class NumberExpressionBase

    • Constructor Detail

      • NumberExpressionBase

        public NumberExpressionBase()
    • Method Detail

      • numberExpression

        public static <S extends NumberNumberExpressionBase numberExpression​(ObservableNumberValue value)
        Returns an NumberExpressionBase that wraps a ObservableNumberValue. If the ObservableNumberValue is already an instance of NumberExpressionBase, it will be returned. Otherwise a new NumberBinding is created that is bound to the ObservableNumberValue.
        Type Parameters:
        S - The type of Number to be wrapped
        Parameters:
        value - The source ObservableNumberValue
        Returns:
        An NumberExpressionBase that wraps the ObservableNumberValue if necessary
        Throws:
        NullPointerException - if value is null