-
public class LimitedDoubleProperty extends Property<Double>
A limited DoubleProperty to a value range. Value will be checked to be in range lowerBoundInclusive to upperBoundInclusive.
Therefore upperBoundInclusive must be greater or equal to lowerBoundInclusive. The Range is constant and cannot be altered after object creation.
-
-
Constructor Summary
Constructors Constructor Description LimitedDoubleProperty(Number lowerBoundInclusive, Number upperBoundInclusive, Number initialValue)
Creates a LimitedDoubleProperty with given bounds and initial value.
-
Method Summary
-
Methods inherited from class tools.aqua.bgw.observable.properties.Property
notifyUnchanged
-
Methods inherited from class tools.aqua.bgw.observable.properties.ReadonlyProperty
addListener, addListenerAndInvoke, clearListeners, removeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LimitedDoubleProperty
LimitedDoubleProperty(Number lowerBoundInclusive, Number upperBoundInclusive, Number initialValue)
Creates a LimitedDoubleProperty with given bounds and initial value.- Parameters:
lowerBoundInclusive
- Lower bound inclusive.upperBoundInclusive
- Upper bound inclusive.initialValue
- Initial Value.
-
-
-
-