java.lang.Object
javafx.beans.binding.ObjectExpression<T>
javafx.beans.property.ReadOnlyObjectProperty<T>
javafx.beans.property.ObjectProperty<T>
javafx.beans.property.ObjectPropertyBase<T>
javafx.beans.property.SimpleObjectProperty<T>
javafx.beans.property.ReadOnlyObjectWrapper<T>
- All Implemented Interfaces:
- Observable,- Property<T>,- ReadOnlyProperty<T>,- ObservableObjectValue<T>,- ObservableValue<T>,- WritableObjectValue<T>,- WritableValue<T>
public class ReadOnlyObjectWrapper<T> extends SimpleObjectProperty<T>
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 ReadOnlyObjectWrapper()The constructor ofReadOnlyObjectWrapperReadOnlyObjectWrapper(Object bean, String name)The constructor ofReadOnlyObjectWrapperReadOnlyObjectWrapper(Object bean, String name, T initialValue)The constructor ofReadOnlyObjectWrapperReadOnlyObjectWrapper(T initialValue)The constructor ofReadOnlyObjectWrapper
- 
Method SummaryModifier and Type Method Description ReadOnlyObjectProperty<T>getReadOnlyProperty()Returns the readonly property, that is synchronized with thisReadOnlyObjectWrapper.Methods declared in class javafx.beans.property.ObjectPropertyBasefireValueChangedEvent, invalidated, toStringMethods declared in class javafx.beans.binding.ObjectExpressionasString, asString, asString, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionMethods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods declared in interface javafx.beans.ObservableaddListener, removeListenerMethods declared in interface javafx.beans.value.ObservableObjectValuegetMethods 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.WritableObjectValueget, setMethods declared in interface javafx.beans.value.WritableValuegetValue, setValue
- 
Constructor Details- 
ReadOnlyObjectWrapperpublic ReadOnlyObjectWrapper()The constructor ofReadOnlyObjectWrapper
- 
ReadOnlyObjectWrapperThe constructor ofReadOnlyObjectWrapper- Parameters:
- initialValue- the initial value of the wrapped value
 
- 
ReadOnlyObjectWrapperThe constructor ofReadOnlyObjectWrapper- Parameters:
- bean- the bean of this- ReadOnlyObjectProperty
- name- the name of this- ReadOnlyObjectProperty
 
- 
ReadOnlyObjectWrapperThe constructor ofReadOnlyObjectWrapper- Parameters:
- bean- the bean of this- ReadOnlyObjectProperty
- name- the name of this- ReadOnlyObjectProperty
- initialValue- the initial value of the wrapped value
 
 
- 
- 
Method Details- 
getReadOnlyPropertyReturns the readonly property, that is synchronized with thisReadOnlyObjectWrapper.- Returns:
- the readonly property
 
 
-