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.
-
Interface Summary Interface Description Property<T> Generic interface that defines the methods common to all (writable) properties independent of their type.ReadOnlyProperty<T> Generic interface that defines the methods common to all readable properties independent of their type. -
Class Summary Class Description BooleanProperty This class provides a full implementation of aPropertywrapping abooleanvalue.BooleanPropertyBase The classBooleanPropertyBaseis the base class for a property wrapping abooleanvalue.DoubleProperty This class defines aPropertywrapping adoublevalue.DoublePropertyBase The classDoublePropertyBaseis the base class for a property wrapping adoublevalue.FloatProperty This class defines aPropertywrapping afloatvalue.FloatPropertyBase The classFloatPropertyBaseis the base class for a property wrapping afloatvalue.IntegerProperty This class defines aPropertywrapping anintvalue.IntegerPropertyBase The classIntegerPropertyBaseis the base class for a property wrapping aintvalue.ListProperty<E> This class provides a full implementation of aPropertywrapping anObservableList.ListPropertyBase<E> The classListPropertyBaseis the base class for a property wrapping anObservableList.LongProperty This class defines aPropertywrapping alongvalue.LongPropertyBase 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.ObjectProperty<T> This class provides a full implementation of aPropertywrapping an arbitraryObject.ObjectPropertyBase<T> The classObjectPropertyBaseis the base class for a property wrapping an arbitraryObject.ReadOnlyBooleanProperty Superclass for all readonly properties wrapping aboolean.ReadOnlyBooleanPropertyBase Base class for all readonly properties wrapping aboolean.ReadOnlyBooleanWrapper This class provides a convenient class to define read-only properties.ReadOnlyDoubleProperty Superclass for all readonly properties wrapping adouble.ReadOnlyDoublePropertyBase Base class for all readonly properties wrapping adouble.ReadOnlyDoubleWrapper This class provides a convenient class to define read-only properties.ReadOnlyFloatProperty Superclass for all readonly properties wrapping afloat.ReadOnlyFloatPropertyBase Base class for all readonly properties wrapping afloat.ReadOnlyFloatWrapper This class provides a convenient class to define read-only properties.ReadOnlyIntegerProperty Superclass for all readonly properties wrapping anint.ReadOnlyIntegerPropertyBase Base class for all readonly properties wrapping anint.ReadOnlyIntegerWrapper This class provides a convenient class to define read-only properties.ReadOnlyListProperty<E> Superclass for all readonly properties wrapping anObservableList.ReadOnlyListPropertyBase<E> Base class for all readonly properties wrapping anObservableList.ReadOnlyListWrapper<E> This class provides a convenient class to define read-only properties.ReadOnlyLongProperty Superclass for all readonly properties wrapping along.ReadOnlyLongPropertyBase Base class for all readonly properties wrapping along.ReadOnlyLongWrapper This class provides a convenient class to define read-only properties.ReadOnlyMapProperty<K,V> Superclass for all readonly properties wrapping anObservableMap.ReadOnlyMapPropertyBase<K,V> Base class for all readonly properties wrapping anObservableMap.ReadOnlyMapWrapper<K,V> This class provides a convenient class to define read-only properties.ReadOnlyObjectProperty<T> Superclass for all readonly properties wrapping an arbitraryObject.ReadOnlyObjectPropertyBase<T> Base class for all readonly properties wrapping an arbitraryObject.ReadOnlyObjectWrapper<T> This class provides a convenient class to define read-only properties.ReadOnlySetProperty<E> Superclass for all readonly properties wrapping anObservableSet.ReadOnlySetPropertyBase<E> Base class for all readonly properties wrapping anObservableSet.ReadOnlySetWrapper<E> This class provides a convenient class to define read-only properties.ReadOnlyStringProperty Superclass for all readonly properties wrapping anString.ReadOnlyStringPropertyBase Base class for all readonly properties wrapping aString.ReadOnlyStringWrapper This class provides a convenient class to define read-only properties.SetProperty<E> This class provides a full implementation of aPropertywrapping anObservableSet.SetPropertyBase<E> The classSetPropertyBaseis the base class for a property wrapping anObservableSet.SimpleBooleanProperty This class provides a full implementation of aPropertywrapping abooleanvalue.SimpleDoubleProperty This class provides a full implementation of aPropertywrapping adoublevalue.SimpleFloatProperty This class provides a full implementation of aPropertywrapping afloatvalue.SimpleIntegerProperty This class provides a full implementation of aPropertywrapping aintvalue.SimpleListProperty<E> This class provides a full implementation of aPropertywrapping anObservableList.SimpleLongProperty This class provides a full implementation of aPropertywrapping alongvalue.SimpleMapProperty<K,V> This class provides a full implementation of aPropertywrapping anObservableMap.SimpleObjectProperty<T> This class provides a full implementation of aPropertywrapping an arbitraryObject.SimpleSetProperty<E> This class provides a full implementation of aPropertywrapping anObservableSet.SimpleStringProperty This class provides a full implementation of aPropertywrapping aStringvalue.StringProperty This class provides a full implementation of aPropertywrapping aStringvalue.StringPropertyBase The classStringPropertyBaseis the base class for a property wrapping aStringvalue.