Class SimpleDoubleProperty

All Implemented Interfaces:
NumberExpression, Observable, Property<Number>, ReadOnlyProperty<Number>, ObservableDoubleValue, ObservableNumberValue, ObservableValue<Number>, WritableDoubleValue, WritableNumberValue, WritableValue<Number>

public class SimpleDoubleProperty extends DoublePropertyBase
This class provides a full implementation of a Property wrapping a double value.
Since:
JavaFX 2.0
See Also:
  • Constructor Details

    • SimpleDoubleProperty

      public SimpleDoubleProperty()
      The constructor of DoubleProperty
    • SimpleDoubleProperty

      public SimpleDoubleProperty(double initialValue)
      The constructor of DoubleProperty
      Parameters:
      initialValue - the initial value of the wrapped value
    • SimpleDoubleProperty

      public SimpleDoubleProperty(Object bean, String name)
      The constructor of DoubleProperty
      Parameters:
      bean - the bean of this DoubleProperty
      name - the name of this DoubleProperty
    • SimpleDoubleProperty

      public SimpleDoubleProperty(Object bean, String name, double initialValue)
      The constructor of DoubleProperty
      Parameters:
      bean - the bean of this DoubleProperty
      name - the name of this DoubleProperty
      initialValue - the initial value of the wrapped value
  • Method Details

    • getBean

      public Object getBean()
      Returns the Object that contains this property. If this property is not contained in an Object, null is returned.
      Returns:
      the containing Object or null
    • getName

      public String getName()
      Returns the name of this property. If the property does not have a name, this method returns an empty String.
      Returns:
      the name or an empty String