Top Description Constructors Methods
javafx.beans.property

public abstract Class ReadOnlyBooleanProperty

extends BooleanExpression
implements ReadOnlyProperty<Boolean>
Class Inheritance
All Implemented Interfaces
javafx.beans.property.ReadOnlyProperty, javafx.beans.value.ObservableValue, javafx.beans.Observable
Known Direct Subclasses
javafx.beans.property.ReadOnlyBooleanPropertyBase, javafx.beans.property.BooleanProperty
Imports
javafx.beans.InvalidationListener, .WeakInvalidationListener, javafx.beans.binding.BooleanExpression

Superclass for all readonly properties wrapping a boolean.
Since
JavaFX 2.0
See Also
javafx.beans.value.ObservableBooleanValue, javafx.beans.binding.BooleanExpression, ReadOnlyProperty

Constructor Summary

AccessConstructor and Description
public
ReadOnlyBooleanProperty()

The constructor of ReadOnlyBooleanProperty.

Method Summary

Modifier and TypeMethod and Description
public ReadOnlyObjectProperty<Boolean>

Returns:

the new ReadOnlyObjectProperty
asObject
()

Overrides javafx.beans.binding.BooleanExpression.asObject.

Creates a javafx.beans.property.ReadOnlyObjectProperty that holds the value of this ReadOnlyBooleanProperty.

public static ReadOnlyBooleanProperty

Returns:

A ReadOnlyBooleanProperty that wraps the ReadOnlyProperty if necessary
readOnlyBooleanProperty
(final ReadOnlyProperty<Boolean>
The source ReadOnlyProperty
property
)

Returns a ReadOnlyBooleanProperty that wraps a javafx.beans.property.ReadOnlyProperty.

public String

Returns:

a string representation of this ReadOnlyBooleanProperty object.
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of this ReadOnlyBooleanProperty object.

Inherited from javafx.beans.binding.BooleanExpression:
andasStringbooleanExpressionbooleanExpressiongetValueisEqualToisNotEqualTonotor

Constructor Detail

ReadOnlyBooleanPropertyback to summary
public ReadOnlyBooleanProperty()

The constructor of ReadOnlyBooleanProperty.

Method Detail

asObjectback to summary
public ReadOnlyObjectProperty<Boolean> asObject()

Overrides javafx.beans.binding.BooleanExpression.asObject.

Creates a javafx.beans.property.ReadOnlyObjectProperty that holds the value of this ReadOnlyBooleanProperty. If the value of this ReadOnlyBooleanProperty changes, the value of the ReadOnlyObjectProperty will be updated automatically.

Returns:ReadOnlyObjectProperty<Boolean>

the new ReadOnlyObjectProperty

Annotations
@Override
Since
JavaFX 8.0
readOnlyBooleanPropertyback to summary
public static ReadOnlyBooleanProperty readOnlyBooleanProperty(final ReadOnlyProperty<Boolean> property)

Returns a ReadOnlyBooleanProperty that wraps a javafx.beans.property.ReadOnlyProperty. If the ReadOnlyProperty is already a ReadOnlyBooleanProperty, it will be returned. Otherwise a new ReadOnlyBooleanProperty is created that is bound to the ReadOnlyProperty.

Note

null values will be interpreted as "false"

Parameters
property:ReadOnlyProperty<Boolean>

The source ReadOnlyProperty

Returns:ReadOnlyBooleanProperty

A ReadOnlyBooleanProperty that wraps the ReadOnlyProperty if necessary

Exceptions
NullPointerException:
if property is null
Since
JavaFX 8.0
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation of this ReadOnlyBooleanProperty object.

Returns:String

a string representation of this ReadOnlyBooleanProperty object.

Annotations
@Override