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