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