A JavaBeanFloatProperty provides an adapter between a regular
Java Bean property of type float or Float and a JavaFX
FloatProperty. It cannot be created directly, but a
JavaBeanFloatPropertyBuilder has to be used.

As a minimum, the Java Bean must implement a getter and a setter for the
property. If the getter of an instance of this class is called, the property of
the Java Bean is returned. If the setter is called, the value will be passed
to the Java Bean property. If the Java Bean property is bound (i.e. it supports
PropertyChangeListeners), this JavaBeanFloatProperty will be
aware of changes in the Java Bean. Otherwise it can be notified about
changes by calling fireValueChangedEvent(). If the Java Bean property
is also constrained (i.e. it supports VetoableChangeListeners), this
JavaBeanFloatProperty will reject changes, if it is bound to an
ObservableValue<Float>.

addListener

Adds a ChangeListener which will be notified whenever the value
of the ObservableValue changes. If the same listener is added
more than once, then it will be notified more than once. That is, no
check is made to ensure uniqueness.

Note that the same actual ChangeListener instance may be safely
registered for different ObservableValues.

The ObservableValue stores a strong reference to the listener
which will prevent the listener from being garbage collected and may
result in a memory leak. It is recommended to either unregister a
listener by calling removeListener after use or to use an instance of
WeakChangeListener avoid this situation.

removeListener

Removes the given listener from the list of listeners, that are notified
whenever the value of the ObservableValue changes.

If the given listener has not been previously registered (i.e. it was
never added) then this method call is a no-op. If it had been previously
added then it will be removed. If it had been added more than once, then
only the first occurrence will be removed.

addListener

Adds an InvalidationListener which will be notified whenever the
Observable becomes invalid. If the same
listener is added more than once, then it will be notified more than
once. That is, no check is made to ensure uniqueness.

Note that the same actual InvalidationListener instance may be
safely registered for different Observables.

The Observable stores a strong reference to the listener
which will prevent the listener from being garbage collected and may
result in a memory leak. It is recommended to either unregister a
listener by calling removeListener after use or to use an instance of
WeakInvalidationListener avoid this situation.

removeListener

Removes the given listener from the list of listeners, that are notified
whenever the value of the Observable becomes invalid.

If the given listener has not been previously registered (i.e. it was
never added) then this method call is a no-op. If it had been previously
added then it will be removed. If it had been added more than once, then
only the first occurrence will be removed.

dispose

public void dispose()

Signals to the JavaFX property that it will not be used anymore and any
references can be removed. A call of this method usually results in the
property stopping to observe the Java Bean property by unregistering its
listener(s).