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