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