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, remove
public BooleanProperty(String key, boolean defaultValue)
BooleanProperty
.key
- The property keydefaultValue
- The default valuepublic Boolean get()
AbstractProperty
get
in class AbstractProperty<Boolean>
public boolean put(Boolean value)
AbstractProperty
put
in class AbstractProperty<Boolean>
value
- The new value of this property