com.jstatcom.project
Class Settings
- java.lang.Object
-
- com.jstatcom.project.Settings
-
public final class Settings extends java.lang.ObjectRepresents 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 theSettingsManagerclass.This class only holds a list with an arbitrary number of
SettingsElementinstances, which are themselves XML serializable classes holding specific types of runtime information.
-
-
Field Summary
Fields Modifier and Type Field and Description static XmlFormat<Settings>Settings_XML
-
Constructor Summary
Constructors Constructor and Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSettingsElement(SettingsElement el)Adds aSettingsElementobject to this.
-
-
-
Method Detail
-
addSettingsElement
public void addSettingsElement(SettingsElement el)
Adds aSettingsElementobject to this.- Parameters:
el- an element representing a certain type of runtime information- Throws:
java.lang.IllegalArgumentException-if (el == null)
-
-
DMelt 3.0 © DataMelt by jWork.ORG