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