public abstract class ReadOnlyBooleanProperty extends BooleanExpression implements ReadOnlyProperty<java.lang.Boolean>
boolean
.javafx.beans.value.ObservableBooleanValue
,
javafx.beans.binding.BooleanExpression
,
ReadOnlyProperty
Constructor and Description |
---|
ReadOnlyBooleanProperty()
The constructor of
ReadOnlyBooleanProperty . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<java.lang.Boolean> |
asObject()
Creates a
ReadOnlyObjectProperty that holds the value
of this ReadOnlyBooleanProperty . |
static ReadOnlyBooleanProperty |
readOnlyBooleanProperty(ReadOnlyProperty<java.lang.Boolean> property)
Returns a
ReadOnlyBooleanProperty that wraps a
ReadOnlyProperty . |
java.lang.String |
toString()
Returns a string representation of this
ReadOnlyBooleanProperty object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBean, getName
public ReadOnlyBooleanProperty()
ReadOnlyBooleanProperty
.public java.lang.String toString()
ReadOnlyBooleanProperty
object.ReadOnlyBooleanProperty
object.public static ReadOnlyBooleanProperty readOnlyBooleanProperty(ReadOnlyProperty<java.lang.Boolean> property)
ReadOnlyBooleanProperty
that wraps a
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"property
- The source ReadOnlyProperty
ReadOnlyBooleanProperty
that wraps the
ReadOnlyProperty
if necessaryjava.lang.NullPointerException
- if property
is null
public ReadOnlyObjectProperty<java.lang.Boolean> asObject()
ReadOnlyObjectProperty
that holds the value
of this ReadOnlyBooleanProperty
. If the
value of this ReadOnlyBooleanProperty
changes, the value of the
ReadOnlyObjectProperty
will be updated automatically.ReadOnlyObjectProperty