APIdia Launch Partner
Top Description Inners Fields Constructors Methods
javafx.beans.property

public Class ReadOnlyBooleanWrapper

extends SimpleBooleanProperty
Class Inheritance

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private ReadOnlyBooleanWrapper.ReadOnlyPropertyImpl

Constructor Summary

AccessConstructor and Description
public
ReadOnlyBooleanWrapper()

The constructor of ReadOnlyBooleanWrapper

public
ReadOnlyBooleanWrapper(boolean
the initial value of the wrapped value
initialValue
)

The constructor of ReadOnlyBooleanWrapper

public
ReadOnlyBooleanWrapper(Object
the bean of this ReadOnlyBooleanProperty
bean
,
String
the name of this ReadOnlyBooleanProperty
name
)

The constructor of ReadOnlyBooleanWrapper

public
ReadOnlyBooleanWrapper(Object
the bean of this ReadOnlyBooleanProperty
bean
,
String
the name of this ReadOnlyBooleanProperty
name
,
boolean
the initial value of the wrapped value
initialValue
)

The constructor of ReadOnlyBooleanWrapper

Method Summary

Modifier and TypeMethod and Description
protected void
public ReadOnlyBooleanProperty

Returns:

the readonly property
getReadOnlyProperty
()

Returns the readonly property, that is synchronized with this ReadOnlyBooleanWrapper.

Inherited from javafx.beans.property.SimpleBooleanProperty:
getBeangetName

Field Detail

readOnlyPropertyback to summary
private ReadOnlyBooleanWrapper.ReadOnlyPropertyImpl readOnlyProperty

Constructor Detail

ReadOnlyBooleanWrapperback to summary
public ReadOnlyBooleanWrapper()

The constructor of ReadOnlyBooleanWrapper

ReadOnlyBooleanWrapperback to summary
public ReadOnlyBooleanWrapper(boolean initialValue)

The constructor of ReadOnlyBooleanWrapper

Parameters
initialValue:boolean

the initial value of the wrapped value

ReadOnlyBooleanWrapperback to summary
public ReadOnlyBooleanWrapper(Object bean, String name)

The constructor of ReadOnlyBooleanWrapper

Parameters
bean:Object

the bean of this ReadOnlyBooleanProperty

name:String

the name of this ReadOnlyBooleanProperty

ReadOnlyBooleanWrapperback to summary
public ReadOnlyBooleanWrapper(Object bean, String name, boolean initialValue)

The constructor of ReadOnlyBooleanWrapper

Parameters
bean:Object

the bean of this ReadOnlyBooleanProperty

name:String

the name of this ReadOnlyBooleanProperty

initialValue:boolean

the initial value of the wrapped value

Method Detail

fireValueChangedEventback to summary
protected void fireValueChangedEvent()

Overrides javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent.

Doc from javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent.

Sends notifications to all attached InvalidationListeners and ChangeListeners. This method is called when the value is changed, either manually by calling set(boolean) or in case of a bound property, if the binding becomes invalid.

Annotations
@Override
getReadOnlyPropertyback to summary
public ReadOnlyBooleanProperty getReadOnlyProperty()

Returns the readonly property, that is synchronized with this ReadOnlyBooleanWrapper.

Returns:ReadOnlyBooleanProperty

the readonly property

javafx.beans.property back to summary

private Class ReadOnlyBooleanWrapper.ReadOnlyPropertyImpl

extends ReadOnlyBooleanPropertyBase
Class Inheritance

Field Summary

Inherited from javafx.beans.property.ReadOnlyBooleanPropertyBase:
helper

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
get()

Implements javafx.beans.value.ObservableBooleanValue.get.

Returns the current value of this ObservableBooleanValue.

public Object
getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property.

public String
getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property.

Inherited from javafx.beans.property.ReadOnlyBooleanPropertyBase:
addListeneraddListenerfireValueChangedEventremoveListenerremoveListener

Constructor Detail

ReadOnlyPropertyImplback to summary
private ReadOnlyPropertyImpl()

Method Detail

getback to summary
public boolean get()

Implements javafx.beans.value.ObservableBooleanValue.get.

Doc from javafx.beans.value.ObservableBooleanValue.get.

Returns the current value of this ObservableBooleanValue.

Annotations
@Override
getBeanback to summary
public Object getBean()

Implements javafx.beans.property.ReadOnlyProperty.getBean.

Doc from javafx.beans.property.ReadOnlyProperty.getBean.

Returns the Object that contains this property. If this property is not contained in an Object, null is returned.

Annotations
@Override
getNameback to summary
public String getName()

Implements javafx.beans.property.ReadOnlyProperty.getName.

Doc from javafx.beans.property.ReadOnlyProperty.getName.

Returns the name of this property. If the property does not have a name, this method returns an empty String.

Annotations
@Override