com.jstatcom.project
Class Settings
java.lang.Object
com.jstatcom.project.Settings
public final class Settings
- extends java.lang.Object
Represents all settings that should be stored permanently between different
program runs. All settings are stored to an XML file when the program is quit
and are automatically retrieved at program start. Settings are handled by the
SettingsManager
class.
This class only holds a list with an arbitrary number of
SettingsElement
instances, which are themselves XML
serializable classes holding specific types of runtime information.
- Author:
- Markus Kraetzig
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Settings_XML
public static final javolution.xml.XmlFormat<Settings> Settings_XML
Settings
public Settings()
addSettingsElement
public void addSettingsElement(SettingsElement el)
- Adds a
SettingsElement
object to this.
- Parameters:
el
- an element representing a certain type of runtime information
- Throws:
java.lang.IllegalArgumentException
- if (el == null)