Class semper.preferences.PreferencesAdditions
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.preferences.PreferencesAdditions

java.lang.Object
   |
   +----semper.preferences.PreferencesAdditions

public class PreferencesAdditions
extends Object
This static class register groups additions to the preferences at initialisation time. The list contains PrefGroupToAdd objects which contains a group-construction algorithm processed in the process() method below. If you are using this from outside the preferences package, only methods reset() and addGroupInList() may be of interest to you.
Version:
$Revision: 1.2 $ $Date: 1997/01/28 18:53:43 $
Author:
Louis Salvail (CWI)
See Also:
PrefGroupToAdd

Constructor Index

 o PreferencesAdditions()

Method Index

 o addGroupInList(PrefGroupToAdd)
Adds a group construction algorithm in the list.
 o process()
This process all scheduled additions in the list.
 o reset()
Reset the list.

Constructors

 o PreferencesAdditions
  public PreferencesAdditions()

Methods

 o reset
  public static void reset()
Reset the list.
 o addGroupInList
  public static void addGroupInList(PrefGroupToAdd cons)
Adds a group construction algorithm in the list.
Parameters:
cons - is the object implementing the group addition.
Returns:
none.
 o process
  protected static void process() throws PreferencesException
This process all scheduled additions in the list. At the end, all additions are removed from the list. It is used by the Preferences manager during initialisation.
Throws: PreferencesException
when the PreferencesManager is not initialised or the group constructor encountered an error.
See Also:
build

All Packages  Class Hierarchy  This Package  Previous  Next  Index