Public Member Functions | |
void | Refresh () |
String | getPreference (int parameter) |
String | getDescription (int parameter) |
void | setPreference (int parameter, String value) |
int | getNoPreferences () |
File | getPrefsFile () |
void | readpreferencesFile () |
void | writepreferencesFile () |
Static Public Member Functions | |
PreferencesInterface | getInstance () |
Static Public Attributes | |
final int | SCT_VIEW = 0 |
final int | INSTITUTE = 1 |
final int | PASSWORD = 2 |
final int | UPLOAD_DIR = 3 |
final int | PSVIEWER = 4 |
final int | SCRATCH_DIR = 5 |
final int | DCS_SERVER_NAME = 6 |
final int | AUTO_TEST_SELECT = 7 |
final int | IV_DIRECTORY = 8 |
final int | WEB_LOOKUP_DIR = 9 |
final String | unDefinedString = "Not defined" |
Package Attributes | |
File | preferencesFile = new File(System.getProperty("user.home"),"SctGUI.prefs") |
Private Member Functions | |
PreferencesInterface () | |
Creates a new instance of SCTInterface. | |
Private Attributes | |
String[] | keys = {"PREF_DEFAULT_VIEW%","PREF_INSTITUTE%","PREF_ZDIR%","PREF_UPLOADDIR%","PREF_PSVIEWER%","PREF_SCRATCHDIR%","PREF_DCS_SERVER%","PREF_AUTO_TEST_SELECT%","PREF_IVDIRECTORY%","PREF_LOOKUPTABLE_DIR%"} |
String[] | titles = {"Default SCT View","MacroAssemly Site Location","SCT Database Password","Database Upload Directory","Postscript file Viewer","Scratch Disk","DCS IS Server Name","Automatically select new test","IV Scan Data Directory","Web Lookup Table Directory"} |
String[] | values |
Static Private Attributes | |
PreferencesInterface | instance = new PreferencesInterface() |
Definition at line 14 of file PreferencesInterface.java.