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