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