public class TextProperty extends Property<java.lang.String>
TextProperty is the class that implements the property of type
String.| Constructor and Description |
|---|
TextProperty(int index)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
load(PropertyGetter from)
Loads the property querying the PropertyGetter.
|
int |
store(PropertyEditor to)
Store the property value using the passed PropertyEditor.
|
findPropertybyId, get, getId, getName, getType, isSupported, loadlist, set, storelistpublic int load(PropertyGetter from)
load in class Property<java.lang.String>from - The PropertyGetter called to synchronize the current values.int ConfigException.SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.public int store(PropertyEditor to)
store in class Property<java.lang.String>to - The PropertyEditor in charge of applying the desired values.int ConfigException.SUCCESS in case of success,
otherwise a possible error code, matching one of the ConfigException error constants.ConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.