|
FantasySportsModule 0.0.2-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.fanfoot.prefs.PreferenceManager
Manages the preferences of the current user.
Field Summary | |
static java.lang.String |
AUTO_SCORER_CLASS
String indicating the AutoScorer class of properties |
static java.lang.String |
AUTO_SCORER_EVENT_CONFIGURATION_FILE_KEY
Key for AutoScorer EventConfigurationFile path |
static java.lang.String |
AUTO_SCORER_SCORES_CONFIGURATION_FILE_KEY
Key for AutoScorer Scores configuration XSL path |
static java.lang.String |
AUTO_SCORER_SCORES_TO_HTML_STYLESHEET_KEY
Key for AutoScorer Scores to HTML XSL path |
static java.lang.String |
CLASS_NAME
The classname of this class (used by logger) |
static java.lang.String |
CONTROL_CENTRE_CLASS
Control Centre class name * |
static java.lang.String |
GUI_CONTROL_CENTRE_CLASS
String indicating the GUI CONTROLCENTRE class of properties |
static java.lang.String |
GUI_CONTROL_CENTRE_DEBUG_KEY
Key for AutoScorer EventConfigurationFile path |
Constructor Summary | |
PreferenceManager()
Creates a new preferences manager for the version of of the application indicated. |
Method Summary | |
java.lang.String |
get(java.lang.String strClass,
java.lang.String strName)
Get the value corresponding to the supplied node. |
org.saafe.ui.gui.prefs.PreferencesEditor |
getEditorDialog(java.lang.String strClass,
java.awt.Frame frame)
Return a graphical editor for the user preferences for the indicated class. |
void |
set(java.lang.String strClass,
java.lang.String strKey,
java.lang.String strValue)
Set the user value corresponding to the supplied key to the supplied value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CLASS_NAME
public static final java.lang.String AUTO_SCORER_CLASS
public static final java.lang.String AUTO_SCORER_EVENT_CONFIGURATION_FILE_KEY
public static final java.lang.String AUTO_SCORER_SCORES_CONFIGURATION_FILE_KEY
public static final java.lang.String AUTO_SCORER_SCORES_TO_HTML_STYLESHEET_KEY
public static final java.lang.String CONTROL_CENTRE_CLASS
public static final java.lang.String GUI_CONTROL_CENTRE_CLASS
public static final java.lang.String GUI_CONTROL_CENTRE_DEBUG_KEY
Constructor Detail |
public PreferenceManager()
Method Detail |
public java.lang.String get(java.lang.String strClass, java.lang.String strName)
strClass
- the name of the class of preferencestrName
- the name of the preference requried
public void set(java.lang.String strClass, java.lang.String strKey, java.lang.String strValue)
strClass
- the class of the preferences we are settingstrKey
- Key of the preference to setstrValue
- the value of the preferencepublic org.saafe.ui.gui.prefs.PreferencesEditor getEditorDialog(java.lang.String strClass, java.awt.Frame frame)
strClass
- the class of prefeserence we wish to editframe
- the parent frame for the dialog
|
FantasySportsModule 0.0.2-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |