- All Implemented Interfaces:
- NumberExpression,- Observable,- Property<Number>,- ReadOnlyProperty<Number>,- ObservableLongValue,- ObservableNumberValue,- ObservableValue<Number>,- WritableLongValue,- WritableNumberValue,- WritableValue<Number>
public class ReadOnlyLongWrapper extends SimpleLongProperty
This class provides a convenient class to define read-only properties. It
 creates two properties that are synchronized. One property is read-only
 and can be passed to external users. The other property is read- and
 writable and should be used internally only.
- Since:
- JavaFX 2.0
- 
Constructor SummaryConstructors Constructor Description ReadOnlyLongWrapper()The constructor ofReadOnlyLongWrapperReadOnlyLongWrapper(long initialValue)The constructor ofReadOnlyLongWrapperReadOnlyLongWrapper(Object bean, String name)The constructor ofReadOnlyLongWrapperReadOnlyLongWrapper(Object bean, String name, long initialValue)The constructor ofReadOnlyLongWrapper
- 
Method SummaryModifier and Type Method Description ReadOnlyLongPropertygetReadOnlyProperty()Returns the readonly property, that is synchronized with thisReadOnlyLongWrapper.Methods declared in class javafx.beans.property.LongPropertyBasefireValueChangedEvent, invalidated, toStringMethods declared in class javafx.beans.property.LongPropertyasObject, longPropertyMethods declared in class javafx.beans.property.ReadOnlyLongPropertyreadOnlyLongPropertyMethods declared in class javafx.beans.binding.LongExpressionadd, add, add, add, divide, divide, divide, divide, longExpression, longExpression, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtractMethods declared in class javafx.beans.binding.NumberExpressionBasenumberExpressionMethods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods declared in interface javafx.beans.binding.NumberExpressionadd, 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, subtractMethods declared in interface javafx.beans.ObservableaddListener, removeListenerMethods declared in interface javafx.beans.value.ObservableLongValuegetMethods declared in interface javafx.beans.value.ObservableNumberValuedoubleValue, floatValue, intValue, longValueMethods declared in interface javafx.beans.value.ObservableValueaddListener, getValue, removeListenerMethods declared in interface javafx.beans.property.Propertybind, bindBidirectional, isBound, unbind, unbindBidirectionalMethods declared in interface javafx.beans.property.ReadOnlyPropertygetBean, getNameMethods declared in interface javafx.beans.value.WritableLongValueget, set, setValueMethods declared in interface javafx.beans.value.WritableValuegetValue
- 
Constructor Details- 
ReadOnlyLongWrapperpublic ReadOnlyLongWrapper()The constructor ofReadOnlyLongWrapper
- 
ReadOnlyLongWrapperpublic ReadOnlyLongWrapper(long initialValue)The constructor ofReadOnlyLongWrapper- Parameters:
- initialValue- the initial value of the wrapped value
 
- 
ReadOnlyLongWrapperThe constructor ofReadOnlyLongWrapper- Parameters:
- bean- the bean of this- ReadOnlyLongProperty
- name- the name of this- ReadOnlyLongProperty
 
- 
ReadOnlyLongWrapperThe constructor ofReadOnlyLongWrapper- Parameters:
- bean- the bean of this- ReadOnlyLongProperty
- name- the name of this- ReadOnlyLongProperty
- initialValue- the initial value of the wrapped value
 
 
- 
- 
Method Details- 
getReadOnlyPropertyReturns the readonly property, that is synchronized with thisReadOnlyLongWrapper.- Returns:
- the readonly property
 
 
-