Class PreferenceList

java.lang.Object
ucar.unidata.util.PreferenceList

public class PreferenceList extends Object
Version:
$Revision: 1.15 $ $Date: 2006/05/05 19:19:36 $
Author:
Metapps development team
  • Constructor Details

    • PreferenceList

      public PreferenceList()
      _more_
    • PreferenceList

      public PreferenceList(List list)
      _more_
      Parameters:
      list -
    • PreferenceList

      public PreferenceList(List list, Object chosen, String listId, String chosenId, PersistentStore store)
      _more_
      Parameters:
      list -
      chosen -
      listId -
      chosenId -
      store -
  • Method Details

    • createComboBox

      public JComboBox createComboBox(String actionName, ActionListener listener)
      _more_
      Parameters:
      actionName -
      listener -
      Returns:
      _more_
    • createComboBox

      public JComboBox createComboBox(String actionName, ActionListener listener, boolean fireEventOnBoxAction)
      _more_
      Parameters:
      actionName -
      listener -
      fireEventOnBoxAction -
      Returns:
      _more_
    • saveState

      public void saveState(JComboBox box)
      This sets the currently chosen selection to the selected item of the given box. It then checks to see if the selected item is in the list held by the box. If not it adds it to the list. It then writes out the chosen and the list to the object store if changed.
      Parameters:
      box -