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
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.