|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.curre.prefcount.service.SettingsService
public class SettingsService
This is a service bean that assists with handling application settings.
Created date: Jun 22, 2007
| Constructor Summary | |
|---|---|
SettingsService()
|
|
| Method Summary | |
|---|---|
static Settings |
getSettings()
Returns application settings (current settings). |
static Settings |
loadSettings()
Method to load settings stored on disk. |
static void |
resetSettings()
Method to reset user settings. |
static void |
saveSettings()
Method to save user settings. |
static void |
updateSkin(PrefSkin skin)
Updates the skin on the current settings object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SettingsService()
| Method Detail |
|---|
public static Settings getSettings()
public static Settings loadSettings()
Settings object if
no settings file is found.public static void updateSkin(PrefSkin skin)
skin - PrefSkin to set.
public static void saveSettings()
throws ServiceException
ServiceException - If there was an error when saving settings.
public static void resetSettings()
throws ServiceException
ServiceException - If there was an error when resetting settings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||