private class Affine.AffineElementProperty extends SimpleDoubleProperty
Modifier and Type | Field and Description |
---|---|
private boolean |
needsValueChangedEvent |
private double |
oldValue |
Constructor and Description |
---|
AffineElementProperty(double initialValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners . |
void |
invalidated()
The method
invalidated() can be overridden to receive
invalidation notifications. |
private void |
postProcessAtomicChange()
Called after an atomic change
|
private void |
preProcessAtomicChange()
Called before an atomic change
|
getBean, getName
addListener, addListener, bind, get, isBound, removeListener, removeListener, set, toString, unbind
asObject, bindBidirectional, doubleProperty, setValue, unbindBidirectional
readOnlyDoubleProperty
add, add, add, add, add, divide, divide, divide, divide, divide, doubleExpression, doubleExpression, doubleValue, floatValue, getValue, intValue, longValue, multiply, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract, subtract
asString, asString, asString, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, greaterThanOrEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, lessThanOrEqualTo, numberExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
getValue
private boolean needsValueChangedEvent
private double oldValue
public void invalidated()
DoublePropertyBase
invalidated()
can be overridden to receive
invalidation notifications. This is the preferred option in
Objects
defining the property, because it requires less memory.
The default implementation is empty.invalidated
in class DoublePropertyBase
protected void fireValueChangedEvent()
DoublePropertyBase
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
private void preProcessAtomicChange()
private void postProcessAtomicChange()