uk.ac.essex.common.action
Interface OptionsHandler

All Superinterfaces:
ActionHandler
All Known Implementing Classes:
DefaultOptionsHandler, GlobalOptionsHandler, IVOptionsHandler, OptionsHandlerImpl, OVOptionsHandler

public interface OptionsHandler
extends ActionHandler

An pref handler looks after any available pref for a GUI application. This means providing access to a gui to allow users to update pref. These must then be stored somehow. This could either be through the new Java 1.4 Preferences API, or some custom method.
Date: 15-Jul-2002


Field Summary
static java.lang.String NAME
           
 
Method Summary
 javax.swing.JPanel getPreferencePanel()
          Gets all the panels this gui needs to set its preferences
 java.util.prefs.Preferences getPreferences()
          This class manages a viewers preferences so this preference object should be used to write preferences
 PreferenceObject readOptions()
           
 void saveOptions()
          Save the pref for this manager
 

Field Detail

NAME

static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

getPreferencePanel

javax.swing.JPanel getPreferencePanel()
Gets all the panels this gui needs to set its preferences

Returns:

getPreferences

java.util.prefs.Preferences getPreferences()
This class manages a viewers preferences so this preference object should be used to write preferences

Returns:

saveOptions

void saveOptions()
Save the pref for this manager


readOptions

PreferenceObject readOptions()
Returns: