RangedDoubleProperty

fun RangedDoubleProperty(name: String, initialValue: Double = 0.0, lowerBound: Double = -Double.MAX_VALUE, upperBound: Double = Double.MAX_VALUE)

Based on constructor of DoubleProperty, adds the specified bounds.

Parameters

name

the name of this property

initialValue

the initial value of the wrapped value, defaults to 0.0

lowerBound

the lower bound for the wrapped value to be considered acceptable, defaults to -Double.MAX_VALUE

upperBound

the upper bound for the wrapped value to be considered acceptable, defaults to Double.MAX_VALUE