public class ReadOnlyIntegerWrapper extends SimpleIntegerProperty
Modifier and Type | Class and Description |
---|---|
private class |
ReadOnlyIntegerWrapper.ReadOnlyPropertyImpl |
Modifier and Type | Field and Description |
---|---|
private ReadOnlyIntegerWrapper.ReadOnlyPropertyImpl |
readOnlyProperty |
Constructor and Description |
---|
ReadOnlyIntegerWrapper()
The constructor of
ReadOnlyIntegerWrapper |
ReadOnlyIntegerWrapper(int initialValue)
The constructor of
ReadOnlyIntegerWrapper |
ReadOnlyIntegerWrapper(java.lang.Object bean,
java.lang.String name)
The constructor of
ReadOnlyIntegerWrapper |
ReadOnlyIntegerWrapper(java.lang.Object bean,
java.lang.String name,
int initialValue)
The constructor of
ReadOnlyIntegerWrapper |
Modifier and Type | Method and Description |
---|---|
protected void |
fireValueChangedEvent()
Sends notifications to all attached
InvalidationListeners and
ChangeListeners . |
ReadOnlyIntegerProperty |
getReadOnlyProperty()
Returns the readonly property, that is synchronized with this
ReadOnlyIntegerWrapper . |
getBean, getName
addListener, addListener, bind, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
asObject, bindBidirectional, integerProperty, setValue, unbindBidirectional
readOnlyIntegerProperty
add, add, add, add, divide, divide, divide, divide, doubleValue, floatValue, getValue, integerExpression, integerExpression, intValue, longValue, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract
add, asString, asString, asString, divide, 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, multiply, numberExpression, subtract
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
getValue
private ReadOnlyIntegerWrapper.ReadOnlyPropertyImpl readOnlyProperty
public ReadOnlyIntegerWrapper()
ReadOnlyIntegerWrapper
public ReadOnlyIntegerWrapper(int initialValue)
ReadOnlyIntegerWrapper
initialValue
- the initial value of the wrapped valuepublic ReadOnlyIntegerWrapper(java.lang.Object bean, java.lang.String name)
ReadOnlyIntegerWrapper
bean
- the bean of this ReadOnlyIntegerProperty
name
- the name of this ReadOnlyIntegerProperty
public ReadOnlyIntegerWrapper(java.lang.Object bean, java.lang.String name, int initialValue)
ReadOnlyIntegerWrapper
bean
- the bean of this ReadOnlyIntegerProperty
name
- the name of this ReadOnlyIntegerProperty
initialValue
- the initial value of the wrapped valuepublic ReadOnlyIntegerProperty getReadOnlyProperty()
ReadOnlyIntegerWrapper
.protected void fireValueChangedEvent()
InvalidationListeners
and
ChangeListeners
.
This method is called when the value is changed, either manually by
calling IntegerPropertyBase.set(int)
or in case of a bound property, if the
binding becomes invalid.fireValueChangedEvent
in class IntegerPropertyBase