Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

Preferences.PreferencesInterface Class Reference

Collaboration diagram for Preferences.PreferencesInterface:

Collaboration graph
[legend]
List of all members.

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 int BOOKKEEPING = 10
final int RUN_PROMPT = 11
final int TEST_PROMPT = 12
final int ASSEMBLY_UPLOADS = 13
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

PreferencesInterface instance = new PreferencesInterface()

Detailed Description

Author:
robinson

Definition at line 14 of file PreferencesInterface.java.


The documentation for this class was generated from the following file:
Generated on Fri Sep 16 18:06:26 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5