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