Package 

Class RangedDoubleProperty

  • All Implemented Interfaces:
    java.io.Serializable , javafx.beans.Observable , javafx.beans.binding.NumberExpression , javafx.beans.property.Property , javafx.beans.property.ReadOnlyProperty , javafx.beans.value.ObservableDoubleValue , javafx.beans.value.ObservableNumberValue , javafx.beans.value.ObservableValue , javafx.beans.value.WritableDoubleValue , javafx.beans.value.WritableNumberValue , javafx.beans.value.WritableValue

    
    public final class RangedDoubleProperty
    extends DoublePropertyBase implements Serializable
                        

    This DoubleProperty is designed to have a range for the wrapped value and to be serializable.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getLowerBound() The lower bound value of the property.
      final Unit setLowerBound(Double lowerBound)
      final Double getUpperBound() The upper bound value of the property.
      final Unit setUpperBound(Double upperBound)
      Unit set(Double newValue) {@inheritDoc}.
      Unit setValue(Number v) {@inheritDoc}.
      Void getBean() Getter method for unused field bean.
      String getName() Getter method for name.
      Integer hashCode()
      Boolean equals(Object other)
      • Methods inherited from class it.unibo.alchemist.boundary.gui.view.properties.RangedDoubleProperty

        addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
      • Methods inherited from class javafx.beans.property.ReadOnlyDoubleProperty

        add, add, add, add, add, divide, divide, divide, divide, divide, doubleValue, floatValue, getValue, intValue, longValue, multiply, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract, subtract
      • Methods inherited from class javafx.beans.binding.DoubleExpression

        asString, asString, asString, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo
      • Methods inherited from class javafx.beans.property.DoublePropertyBase

        asObject, bindBidirectional, unbindBidirectional
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RangedDoubleProperty

        RangedDoubleProperty(String name, Double initialValue, Double lowerBound, Double upperBound)
        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.
        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
      • RangedDoubleProperty

        RangedDoubleProperty(String name, Double initialValue, Double lowerBound)
        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.
        lowerBound - the lower bound for the wrapped value to be considered acceptable, defaults to -Double.MAX_VALUE
      • RangedDoubleProperty

        RangedDoubleProperty(String name, Double initialValue)
        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.
      • RangedDoubleProperty

        RangedDoubleProperty(String name)
        Based on constructor of DoubleProperty, adds the specified bounds.
        Parameters:
        name - the name of this property