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