public class SimpleBooleanProperty extends BooleanPropertyBase
Property
wrapping a
boolean
value.BooleanPropertyBase
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
bean |
private static java.lang.Object |
DEFAULT_BEAN |
private static java.lang.String |
DEFAULT_NAME |
private java.lang.String |
name |
Constructor and Description |
---|
SimpleBooleanProperty()
The constructor of
BooleanProperty |
SimpleBooleanProperty(boolean initialValue)
The constructor of
BooleanProperty |
SimpleBooleanProperty(java.lang.Object bean,
java.lang.String name)
The constructor of
BooleanProperty |
SimpleBooleanProperty(java.lang.Object bean,
java.lang.String name,
boolean initialValue)
The constructor of
BooleanProperty |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBean()
Returns the
Object that contains this property. |
java.lang.String |
getName()
Returns the name of this property.
|
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, set, toString, unbind
asObject, bindBidirectional, booleanProperty, setValue, unbindBidirectional
readOnlyBooleanProperty
and, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
getValue
private static final java.lang.Object DEFAULT_BEAN
private static final java.lang.String DEFAULT_NAME
private final java.lang.Object bean
private final java.lang.String name
public SimpleBooleanProperty()
BooleanProperty
public SimpleBooleanProperty(boolean initialValue)
BooleanProperty
initialValue
- the initial value of the wrapped valuepublic SimpleBooleanProperty(java.lang.Object bean, java.lang.String name)
BooleanProperty
bean
- the bean of this BooleanProperty
name
- the name of this BooleanProperty
public SimpleBooleanProperty(java.lang.Object bean, java.lang.String name, boolean initialValue)
BooleanProperty
bean
- the bean of this BooleanProperty
name
- the name of this BooleanProperty
initialValue
- the initial value of the wrapped valuepublic java.lang.Object getBean()
Object
that contains this property. If this property
is not contained in an Object
, null
is returned.Object
or null
public java.lang.String getName()
String
.String