public class BooleanProperty extends AbstractToStringProperty<java.lang.Boolean>
Boolean value.AbstractToStringProperty.ChildProperty<T>AbstractProperty.InvalidPreferenceValueException, AbstractProperty.ValueChangeEvent<T>, AbstractProperty.ValueChangeListener<T>defaultValue, key, preferences| Constructor and Description |
|---|
BooleanProperty(java.lang.String key,
boolean defaultValue)
Constructs a new
BooleanProperty. |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Boolean |
fromString(java.lang.String string)
Converts the string to an object of the given type.
|
java.lang.Boolean |
get()
Replies the value of this property.
|
boolean |
put(java.lang.Boolean value)
Sets this property to the specified value.
|
protected java.lang.String |
toString(java.lang.Boolean t)
Converts the string to an object of the given type.
|
getAsString, getChildProperty, getSpecializedaddListener, addListenerImpl, addWeakListener, cached, equals, getDefaultValue, getKey, getPreferences, hashCode, isSet, remove, removeListener, removeListenerImpl, storeDefaultValuepublic BooleanProperty(java.lang.String key, boolean defaultValue)
BooleanProperty.key - The property keydefaultValue - The default valuepublic java.lang.Boolean get()
AbstractPropertyget in class AbstractToStringProperty<java.lang.Boolean>public boolean put(java.lang.Boolean value)
AbstractPropertyput in class AbstractToStringProperty<java.lang.Boolean>value - The new value of this propertyprotected java.lang.Boolean fromString(java.lang.String string)
AbstractToStringPropertyfromString in class AbstractToStringProperty<java.lang.Boolean>string - The stringprotected java.lang.String toString(java.lang.Boolean t)
AbstractToStringPropertytoString in class AbstractToStringProperty<java.lang.Boolean>t - The object.