Package javafx.beans.property
The package javafx.beans.property defines read-only
properties and writable properties, plus a number of implementations.
Read-only Properties
Read-only properties have two getters, get() returns the
primitive value, getValue() returns the boxed value.
It is possible to observe read-only properties for changes. They
define methods to add and remove InvalidationListeners and ChangeListeners.
To get the context of a read-only property, two methods
getBean() and getName() are defined. They return the
containing bean and the name of a property.
Writable Properties
In addition to the functionality defined for read-only properties, writable properties contain the following methods.
A writable property defines two setters in addition to the
getters defined for read-only properties. The setter set()
takes a primitive value, the second setter setValue() takes
the boxed value.
All properties can be bound to ObservableValues of the same type,
which means that the property will always contain the same value as
the bound ObservableValue. It is also possible to define a
bidirectional binding between two properties, so that both properties
always contain the same value. If one of the properties changes, the
other one will be updated.
-
ClassDescriptionThis class provides a full implementation of a
Propertywrapping abooleanvalue.The classBooleanPropertyBaseis the base class for a property wrapping abooleanvalue.This class defines aPropertywrapping adoublevalue.The classDoublePropertyBaseis the base class for a property wrapping adoublevalue.This class defines aPropertywrapping afloatvalue.The classFloatPropertyBaseis the base class for a property wrapping afloatvalue.This class defines aPropertywrapping anintvalue.The classIntegerPropertyBaseis the base class for a property wrapping aintvalue.ListProperty<E>This class provides a full implementation of aPropertywrapping anObservableList.The classListPropertyBaseis the base class for a property wrapping anObservableList.This class defines aPropertywrapping alongvalue.The classLongPropertyBaseis the base class for a property wrapping alongvalue.MapProperty<K,V> This class provides a full implementation of aPropertywrapping anObservableMap.MapPropertyBase<K,V> The classMapPropertyBaseis the base class for a property wrapping anObservableMap.This class provides a full implementation of aPropertywrapping an arbitraryObject.The classObjectPropertyBaseis the base class for a property wrapping an arbitraryObject.Property<T>Generic interface that defines the methods common to all (writable) properties, independent of their type.Superclass for all readonly properties wrapping aboolean.Base class for all readonly properties wrapping aboolean.This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping adouble.Base class for all readonly properties wrapping adouble.This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping afloat.Base class for all readonly properties wrapping afloat.This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping anint.Base class for all readonly properties wrapping anint.This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping anObservableList.Base class for all readonly properties wrapping anObservableList.This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping along.Base class for all readonly properties wrapping along.This class provides a convenient class to define read-only properties.ReadOnlyMapProperty<K,V> Superclass for all readonly properties wrapping anObservableMap.Base class for all readonly properties wrapping anObservableMap.ReadOnlyMapWrapper<K,V> This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping an arbitraryObject.Base class for all readonly properties wrapping an arbitraryObject.This class provides a convenient class to define read-only properties.Generic interface that defines the methods common to all readable properties independent of their type.Superclass for all readonly properties wrapping anObservableSet.Base class for all readonly properties wrapping anObservableSet.This class provides a convenient class to define read-only properties.Superclass for all readonly properties wrapping anString.Base class for all readonly properties wrapping aString.This class provides a convenient class to define read-only properties.SetProperty<E>This class provides a full implementation of aPropertywrapping anObservableSet.The classSetPropertyBaseis the base class for a property wrapping anObservableSet.This class provides a full implementation of aPropertywrapping abooleanvalue.This class provides a full implementation of aPropertywrapping adoublevalue.This class provides a full implementation of aPropertywrapping afloatvalue.This class provides a full implementation of aPropertywrapping aintvalue.This class provides a full implementation of aPropertywrapping anObservableList.This class provides a full implementation of aPropertywrapping alongvalue.SimpleMapProperty<K,V> This class provides a full implementation of aPropertywrapping anObservableMap.This class provides a full implementation of aPropertywrapping an arbitraryObject.This class provides a full implementation of aPropertywrapping anObservableSet.This class provides a full implementation of aPropertywrapping aStringvalue.This class provides a full implementation of aPropertywrapping aStringvalue.The classStringPropertyBaseis the base class for a property wrapping aStringvalue.