|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.data.preferences.AbstractProperty<java.lang.String>
org.openstreetmap.josm.data.preferences.StringProperty
public class StringProperty
A property containing an String value.
| Field Summary |
|---|
| Fields inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty |
|---|
defaultValue, key |
| Constructor Summary | |
|---|---|
StringProperty(java.lang.String key,
java.lang.String defaultValue)
Constructs a new StringProperty. |
|
| Method Summary | |
|---|---|
java.lang.String |
get()
Replies the value of this property. |
boolean |
put(java.lang.String value)
Sets this property to the specified value. |
| Methods inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty |
|---|
getDefaultValue, getKey, isSet, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringProperty(java.lang.String key,
java.lang.String defaultValue)
StringProperty.
key - The property keydefaultValue - The default value| Method Detail |
|---|
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||