public class ReadOnlyDoubleWrapper extends SimpleDoubleProperty
Constructor and Description |
---|
ReadOnlyDoubleWrapper()
The constructor of
ReadOnlyDoubleWrapper |
ReadOnlyDoubleWrapper(double initialValue)
The constructor of
ReadOnlyDoubleWrapper |
ReadOnlyDoubleWrapper(Object bean,
String name)
The constructor of
ReadOnlyDoubleWrapper |
ReadOnlyDoubleWrapper(Object bean,
String name,
double initialValue)
The constructor of
ReadOnlyDoubleWrapper |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners . |
ReadOnlyDoubleProperty |
getReadOnlyProperty()
Returns the read-only property, that is synchronized with this
ReadOnlyDoubleWrapper . |
getBean, getName
addListener, addListener, bind, get, invalidated, 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
public ReadOnlyDoubleWrapper()
ReadOnlyDoubleWrapper
public ReadOnlyDoubleWrapper(double initialValue)
ReadOnlyDoubleWrapper
initialValue
- the initial value of the wrapped valuepublic ReadOnlyDoubleWrapper(Object bean, String name)
ReadOnlyDoubleWrapper
bean
- the bean of this ReadOnlyDoubleProperty
name
- the name of this ReadOnlyDoubleProperty
public ReadOnlyDoubleProperty getReadOnlyProperty()
ReadOnlyDoubleWrapper
.protected void fireValueChangedEvent()
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
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.