|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.util.PrefsUtils
Various utilities for Java preferences.
| Method Summary | |
static Font |
getFontPref(Preferences prefs,
String key,
Font defaultVal)
Get a preference formatted as a Font |
static String[] |
getStringArrayPref(Preferences prefs,
String key,
String[] defaultVal)
Get a preference formatted as a string array |
static void |
putFontPref(Preferences prefs,
String key,
Font value)
Set a preference formatted as a Font |
static void |
putStringArrayPref(Preferences prefs,
String key,
String[] value)
Set a preference formatted as a string array |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static String[] getStringArrayPref(Preferences prefs,
String key,
String[] defaultVal)
prefs - Preferences nodekey - keydefaultVal - default value
public static void putStringArrayPref(Preferences prefs,
String key,
String[] value)
prefs - Preferences nodekey - keyvalue - value
public static Font getFontPref(Preferences prefs,
String key,
Font defaultVal)
prefs - Preferences nodekey - keydefaultVal - default value
public static void putFontPref(Preferences prefs,
String key,
Font value)
prefs - Preferences nodekey - keyvalue - value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||