public class BooleanProperty extends AbstractProperty<java.lang.Boolean>
Boolean
value.defaultValue, key
Constructor and Description |
---|
BooleanProperty(java.lang.String key,
boolean defaultValue)
Constructs a new
BooleanProperty . |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
get()
Replies the value of this property.
|
boolean |
put(java.lang.Boolean value)
Sets this property to the specified value.
|
getDefaultValue, getKey, isSet, remove
public BooleanProperty(java.lang.String key, boolean defaultValue)
BooleanProperty
.key
- The property keydefaultValue
- The default valuepublic java.lang.Boolean get()
AbstractProperty
get
in class AbstractProperty<java.lang.Boolean>
public boolean put(java.lang.Boolean value)
AbstractProperty
put
in class AbstractProperty<java.lang.Boolean>
value
- The new value of this property