public class DoubleProperty extends AbstractProperty<java.lang.Double>
Double
value.defaultValue, key
Constructor and Description |
---|
DoubleProperty(java.lang.String key,
double defaultValue)
Constructs a new
DoubleProperty . |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
get()
Replies the value of this property.
|
boolean |
parseAndPut(java.lang.String value)
parses and saves a double precision value
|
boolean |
put(java.lang.Double value)
Sets this property to the specified value.
|
getDefaultValue, getKey, isSet, remove
public DoubleProperty(java.lang.String key, double defaultValue)
DoubleProperty
.key
- The property keydefaultValue
- The default valuepublic java.lang.Double get()
AbstractProperty
get
in class AbstractProperty<java.lang.Double>
public boolean put(java.lang.Double value)
AbstractProperty
put
in class AbstractProperty<java.lang.Double>
value
- The new value of this propertypublic boolean parseAndPut(java.lang.String value)
value
- the value to be parsed