|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.geeboss.model.settings.Settings
public class Settings
The settings of the application
| Constructor Summary | |
|---|---|
Settings(org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
Construct a new settings instance from a configuration object |
|
Settings(GeebossContainer container)
Construct a new empty settings instance |
|
| Method Summary | |
|---|---|
GuiSettings |
getGuiSettings()
Getter for GuiSettings |
java.util.Locale |
getLocale()
Getter for current locale |
MidiSettings |
getMidiSettings()
Getter for MidiSettings |
void |
loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
Load the configuration of this object |
static Settings |
loadFromFile(GeebossContainer container,
java.io.File file)
Create a new settings object from a file |
org.apache.avalon.framework.configuration.Configuration |
saveConfiguration()
Create a configuration object representing this object |
void |
saveToFile(java.io.File file)
Save the settings to a file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Settings(GeebossContainer container)
container - the geeboss container
public Settings(org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
throws org.apache.avalon.framework.configuration.ConfigurationException
configuration - the configuration to loadcontainer - the geeboss container
org.apache.avalon.framework.configuration.ConfigurationException| Method Detail |
|---|
public MidiSettings getMidiSettings()
public GuiSettings getGuiSettings()
public java.util.Locale getLocale()
public org.apache.avalon.framework.configuration.Configuration saveConfiguration()
saveConfiguration in interface SaveConfigurationSupport
public void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
GeebossContainer container)
throws org.apache.avalon.framework.configuration.ConfigurationException
loadConfiguration in interface LoadConfigurationSupportconfiguration - this object's configurationcontainer - a reference to the GeebossContainer
org.apache.avalon.framework.configuration.ConfigurationException
public static Settings loadFromFile(GeebossContainer container,
java.io.File file)
container - the geeboss containerfile - the file or null
public void saveToFile(java.io.File file)
file - the file to save the settings to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||