private static class BidirectionalBinding.BidirectionalBooleanBinding extends BidirectionalBinding<java.lang.Boolean>
BidirectionalBinding.StringConversionBidirectionalBinding<T>| Modifier and Type | Field and Description |
|---|---|
private java.lang.ref.WeakReference<BooleanProperty> |
propertyRef1 |
private java.lang.ref.WeakReference<BooleanProperty> |
propertyRef2 |
private boolean |
updating |
| Modifier | Constructor and Description |
|---|---|
private |
BidirectionalBooleanBinding(BooleanProperty property1,
BooleanProperty property2) |
| Modifier and Type | Method and Description |
|---|---|
void |
changed(ObservableValue<? extends java.lang.Boolean> sourceProperty,
java.lang.Boolean oldValue,
java.lang.Boolean newValue)
This method needs to be provided by an implementation of
ChangeListener. |
protected Property<java.lang.Boolean> |
getProperty1() |
protected Property<java.lang.Boolean> |
getProperty2() |
bind, bind, bind, bindNumber, bindNumber, bindNumber, bindNumber, bindNumber, bindNumber, bindNumber, bindNumber, equals, hashCode, unbind, unbind, unbindNumber, wasGarbageCollectedprivate final java.lang.ref.WeakReference<BooleanProperty> propertyRef1
private final java.lang.ref.WeakReference<BooleanProperty> propertyRef2
private boolean updating
private BidirectionalBooleanBinding(BooleanProperty property1, BooleanProperty property2)
protected Property<java.lang.Boolean> getProperty1()
getProperty1 in class BidirectionalBinding<java.lang.Boolean>protected Property<java.lang.Boolean> getProperty2()
getProperty2 in class BidirectionalBinding<java.lang.Boolean>public void changed(ObservableValue<? extends java.lang.Boolean> sourceProperty, java.lang.Boolean oldValue, java.lang.Boolean newValue)
ChangeListenerChangeListener. It is called if the value of an
ObservableValue changes.
In general is is considered bad practice to modify the observed value in this method.
sourceProperty - The ObservableValue which value changedoldValue - The old valuenewValue - The new value