Class AddePreferences

java.lang.Object
edu.wisc.ssec.mcidasv.servermanager.AddePreferences

public class AddePreferences extends Object
The ADDE Server preference panel is almost a read-only "view" of the current state of the server manager. The only thing that users can change from here is the visibility of individual AddeEntries, though there has been some talk of allowing for reordering.
  • Field Details

  • Constructor Details

  • Method Details

    • addPanel

      public void addPanel(McIdasPreferenceManager prefManager)
      Adds the various AddePreferences.AddePrefConglomeration objects to the prefManager.
      Parameters:
      prefManager - McIDAS-V's PreferenceManager. Should not be null.
    • handleCategoryToggle

      public void handleCategoryToggle(String topic, ucar.unidata.ui.CheckboxCategoryPanel catPanel)
      Listens for CheckboxCategoryPanel updates and stores the current status.
      Parameters:
      topic - Topic of interest is "CheckboxCategoryPanel.PanelToggled".
      catPanel - The object that changed.
    • buildPanel

      Builds the remote server preference panel, using the given McIdasPreferenceManager.
      Parameters:
      mcv - Reference to the McIDAS-V object; mostly used to control the server manager GUI. Cannot be null.
      Returns:
      An object containing the various components required of a preference panel.
    • setGUIEnabled

      public void setGUIEnabled(boolean enabled)
      Enables or disables: Enabling the components allows the user to pick and choose servers, while disabling enables all servers.
      Parameters:
      enabled - true enables the components and false disables.
    • setSpecifyServers

      private void setSpecifyServers(AddePreferences.Selection entrySelection)
      Sets the value of the PREF_LIST_SPECIFY preference to value.
      Parameters:
      entrySelection - New value to associate with PREF_LIST_SPECIFY.
    • getSpecifyServers

      Returns the value of the PREF_LIST_SPECIFY preference. Defaults to "ALL".
      Returns:
      Value of the PREF_LIST_SPECIFY preference.