public abstract class ReadOnlyBooleanProperty extends BooleanExpression implements ReadOnlyProperty<Boolean>
boolean
.ObservableBooleanValue
,
BooleanExpression
,
ReadOnlyProperty
Constructor and Description |
---|
ReadOnlyBooleanProperty()
The constructor of
ReadOnlyBooleanProperty . |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<Boolean> |
asObject()
Creates a
ReadOnlyObjectProperty that holds the value
of this ReadOnlyBooleanProperty . |
static ReadOnlyBooleanProperty |
readOnlyBooleanProperty(ReadOnlyProperty<Boolean> property)
Returns a
ReadOnlyBooleanProperty that wraps a
ReadOnlyProperty . |
String |
toString()
Returns a string representation of this
ReadOnlyBooleanProperty object. |
and, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBean, getName
addListener, getValue, removeListener
addListener, removeListener
get
public ReadOnlyBooleanProperty()
ReadOnlyBooleanProperty
.public String toString()
ReadOnlyBooleanProperty
object.public static ReadOnlyBooleanProperty readOnlyBooleanProperty(ReadOnlyProperty<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 necessaryNullPointerException
- if property
is null
public ReadOnlyObjectProperty<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.asObject
in class BooleanExpression
ReadOnlyObjectProperty
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.