public class ReadOnlyFloatWrapper extends SimpleFloatProperty
Modifier and Type | Class and Description |
---|---|
private class |
ReadOnlyFloatWrapper.ReadOnlyPropertyImpl |
Modifier and Type | Field and Description |
---|---|
private ReadOnlyFloatWrapper.ReadOnlyPropertyImpl |
readOnlyProperty |
Constructor and Description |
---|
ReadOnlyFloatWrapper()
The constructor of
ReadOnlyFloatWrapper |
ReadOnlyFloatWrapper(float initialValue)
The constructor of
ReadOnlyFloatWrapper |
ReadOnlyFloatWrapper(java.lang.Object bean,
java.lang.String name)
The constructor of
ReadOnlyFloatWrapper |
ReadOnlyFloatWrapper(java.lang.Object bean,
java.lang.String name,
float initialValue)
The constructor of
ReadOnlyFloatWrapper |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners . |
ReadOnlyFloatProperty |
getReadOnlyProperty()
Returns the readonly property, that is synchronized with this
ReadOnlyFloatWrapper . |
getBean, getName
addListener, addListener, bind, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
asObject, bindBidirectional, floatProperty, setValue, unbindBidirectional
readOnlyFloatProperty
private ReadOnlyFloatWrapper.ReadOnlyPropertyImpl readOnlyProperty
public ReadOnlyFloatWrapper()
ReadOnlyFloatWrapper
public ReadOnlyFloatWrapper(float initialValue)
ReadOnlyFloatWrapper
initialValue
- the initial value of the wrapped valuepublic ReadOnlyFloatWrapper(java.lang.Object bean, java.lang.String name)
ReadOnlyFloatWrapper
bean
- the bean of this ReadOnlyFloatProperty
name
- the name of this ReadOnlyFloatProperty
public ReadOnlyFloatWrapper(java.lang.Object bean, java.lang.String name, float initialValue)
ReadOnlyFloatWrapper
bean
- the bean of this ReadOnlyFloatProperty
name
- the name of this ReadOnlyFloatProperty
initialValue
- the initial value of the wrapped valuepublic ReadOnlyFloatProperty getReadOnlyProperty()
ReadOnlyFloatWrapper
.protected void fireValueChangedEvent()
InvalidationListeners
and
ChangeListeners
.
This method is called when the value is changed, either manually by
calling FloatPropertyBase.set(float)
or in case of a bound property, if the
binding becomes invalid.fireValueChangedEvent
in class FloatPropertyBase