- All Implemented Interfaces:
- Observable,- Property<Boolean>,- ReadOnlyProperty<Boolean>,- ObservableBooleanValue,- ObservableValue<Boolean>,- WritableBooleanValue,- WritableValue<Boolean>
public class ReadOnlyBooleanWrapper extends SimpleBooleanProperty
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 ReadOnlyBooleanWrapper()The constructor ofReadOnlyBooleanWrapperReadOnlyBooleanWrapper(boolean initialValue)The constructor ofReadOnlyBooleanWrapperReadOnlyBooleanWrapper(Object bean, String name)The constructor ofReadOnlyBooleanWrapperReadOnlyBooleanWrapper(Object bean, String name, boolean initialValue)The constructor ofReadOnlyBooleanWrapper
- 
Method SummaryModifier and Type Method Description ReadOnlyBooleanPropertygetReadOnlyProperty()Returns the readonly property, that is synchronized with thisReadOnlyBooleanWrapper.Methods declared in class javafx.beans.property.BooleanPropertyBasebind, fireValueChangedEvent, invalidated, toStringMethods declared in class javafx.beans.property.BooleanPropertyasObject, booleanPropertyMethods declared in class javafx.beans.property.ReadOnlyBooleanPropertyreadOnlyBooleanPropertyMethods declared in class javafx.beans.binding.BooleanExpressionand, asString, booleanExpression, booleanExpression, isEqualTo, isNotEqualTo, not, orMethods 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.ObservableBooleanValuegetMethods declared in interface javafx.beans.value.ObservableValueaddListener, getValue, removeListenerMethods declared in interface javafx.beans.property.PropertybindBidirectional, isBound, unbind, unbindBidirectionalMethods declared in interface javafx.beans.property.ReadOnlyPropertygetBean, getNameMethods declared in interface javafx.beans.value.WritableBooleanValueget, set, setValueMethods declared in interface javafx.beans.value.WritableValuegetValue
- 
Constructor Details- 
ReadOnlyBooleanWrapperpublic ReadOnlyBooleanWrapper()The constructor ofReadOnlyBooleanWrapper
- 
ReadOnlyBooleanWrapperpublic ReadOnlyBooleanWrapper(boolean initialValue)The constructor ofReadOnlyBooleanWrapper- Parameters:
- initialValue- the initial value of the wrapped value
 
- 
ReadOnlyBooleanWrapperThe constructor ofReadOnlyBooleanWrapper- Parameters:
- bean- the bean of this- ReadOnlyBooleanProperty
- name- the name of this- ReadOnlyBooleanProperty
 
- 
ReadOnlyBooleanWrapperThe constructor ofReadOnlyBooleanWrapper- Parameters:
- bean- the bean of this- ReadOnlyBooleanProperty
- name- the name of this- ReadOnlyBooleanProperty
- initialValue- the initial value of the wrapped value
 
 
- 
- 
Method Details- 
getReadOnlyPropertyReturns the readonly property, that is synchronized with thisReadOnlyBooleanWrapper.- Returns:
- the readonly property
 
 
-