public class StringSetting extends AbstractSetting<java.lang.String>
String
value.org.openstreetmap.josm.data.preferences
)isNew, time, value
Constructor and Description |
---|
StringSetting(java.lang.String value)
Constructs a new
StringSetting with the given value |
Modifier and Type | Method and Description |
---|---|
StringSetting |
copy()
Clone the current object.
|
StringSetting |
getNullInstance()
Returns a setting whose value is null.
|
void |
visit(SettingVisitor visitor)
Enable usage of the visitor pattern.
|
equals, getTime, getValue, hashCode, isNew, setNew, setTime, toString
public StringSetting(java.lang.String value)
StringSetting
with the given valuevalue
- The setting valuepublic StringSetting copy()
Setting
public void visit(SettingVisitor visitor)
Setting
visitor
- the visitorpublic StringSetting getNullInstance()
Setting
Setting.getValue()