- java.lang.Object
-
- util.settings.Property
-
- util.settings.StringProperty
-
public class StringProperty extends Property
- Author:
- Til Schneider, www.murfman.de
-
-
Constructor Summary
Constructors Constructor Description StringProperty(PropertyManager manager, java.lang.String key, java.lang.String defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearCache()
java.lang.String
getDefault()
java.lang.String
getString()
void
resetToDefault()
reset this option to the default valuevoid
setDefault(java.lang.String defaultValue)
Set the Default-Value of this Classvoid
setString(java.lang.String value)
java.lang.String
toString()
-
Methods inherited from class util.settings.Property
addChangeListener, fireChangeEvent, getKey, getProperty, removeChangeListener, setProperty
-
-
-
-
Constructor Detail
-
StringProperty
public StringProperty(PropertyManager manager, java.lang.String key, java.lang.String defaultValue)
-
-
Method Detail
-
getDefault
public java.lang.String getDefault()
-
getString
public java.lang.String getString()
-
setString
public void setString(java.lang.String value)
-
clearCache
protected void clearCache()
- Specified by:
clearCache
in classProperty
-
setDefault
public void setDefault(java.lang.String defaultValue)
Set the Default-Value of this Class- Parameters:
defaultValue
- Default Value- Since:
- 2.5
-
resetToDefault
public void resetToDefault()
reset this option to the default value- Since:
- 3.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-