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 | |
static PreferencesInterface | getInstance () |
Static Public Attributes | |
static final int | SCT_VIEW = 0 |
static final int | INSTITUTE = 1 |
static final int | PASSWORD = 2 |
static final int | UPLOAD_DIR = 3 |
static final int | PSVIEWER = 4 |
static final int | SCRATCH_DIR = 5 |
static final int | DCS_SERVER_NAME = 6 |
static final int | AUTO_TEST_SELECT = 7 |
static final int | IV_DIRECTORY = 8 |
static final int | WEB_LOOKUP_DIR = 9 |
static final int | BOOKKEEPING = 10 |
static final int | RUN_PROMPT = 11 |
static final int | TEST_PROMPT = 12 |
static final int | ASSEMBLY_UPLOADS = 13 |
static 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%","PREF_ENABLE_BOOKKEEPING%","PREF_LOG_RUN%","PREF_LOG_TEST%","PREF_ASSEMBLY_UPLOAD%"} |
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","Book-keeping Directory","Enable Bookkeeping","Prompt for comments on new run","Prompt for comments on new test","Enable assembly Uploads"} |
String[] | values |
Static Private Attributes | |
static PreferencesInterface | instance = new PreferencesInterface() |
Definition at line 14 of file PreferencesInterface.java.