Class AddeRaobPointDataChooser

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, IdvConstants
Direct Known Subclasses:
RaobPointChooser

public class AddeRaobPointDataChooser extends AddePointDataChooser
Selection widget for ADDE point data
Version:
$Revision: 1.2 $ $Date: 2007/07/06 20:40:19 $
Author:
MetApps Development Team
See Also:
  • Constructor Details

    • AddeRaobPointDataChooser

      public AddeRaobPointDataChooser(IdvChooserManager mgr, Element root)
      Create a new AddeRaobPointDataChooser with the preferred list of ADDE servers.
      Parameters:
      mgr - The chooser manager
      root - The chooser.xml node
  • Method Details

    • getExtraTimeComponent

      protected JComponent getExtraTimeComponent()
      Get the extra time widget. Subclasses can add their own time widgets.
      Overrides:
      getExtraTimeComponent in class TimesChooser
      Returns:
      a widget that can be selected for more options
    • getDefaultStationModel

      public String getDefaultStationModel()
      Get the default station model for this chooser.
      Overrides:
      getDefaultStationModel in class AddePointDataChooser
      Returns:
      name of default station model
    • canDoLevels

      public boolean canDoLevels()
      Does this chooser support level selection
      Overrides:
      canDoLevels in class AddePointDataChooser
      Returns:
      true
    • getDataName

      public String getDataName()
      This allows derived classes to provide their own name for labeling, etc.
      Overrides:
      getDataName in class AddePointDataChooser
      Returns:
      the dataset name
    • getTimesRequest

      protected String getTimesRequest()
      Get the request string for times particular to this chooser
      Overrides:
      getTimesRequest in class AddePointDataChooser
      Returns:
      request string
    • getDefaultDatasets

      protected TwoFacedObject[] getDefaultDatasets()
      Get the default datasets for the chooser. The objects are a descriptive name and the ADDE group/descriptor
      Overrides:
      getDefaultDatasets in class AddePointDataChooser
      Returns:
      default datasets.
    • getRelativeTimeIncrement

      public float getRelativeTimeIncrement()
      Get the increment between times for relative time requests
      Overrides:
      getRelativeTimeIncrement in class AddePointDataChooser
      Returns:
      time increment (hours)
    • getZeroAndTwelveZOnly

      public boolean getZeroAndTwelveZOnly()
      Get whether we should show 00 and 12Z times only.
      Returns:
      true if only 00 and 12Z obs
    • setZeroAndTwelveZOnly

      public void setZeroAndTwelveZOnly(boolean value)
      Set whether we should show 00 and 12Z times only.
      Parameters:
      value - true if only 00 and 12Z obs
    • getLevels

      public List getLevels()
      Get the list of possible levels for this chooser.
      Overrides:
      getLevels in class AddePointDataChooser
      Returns:
      list of levels;