Class AddeLightningDataChooser

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

public class AddeLightningDataChooser 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

    • AddeLightningDataChooser

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

    • getDefaultStationModel

      public String getDefaultStationModel()
      Get the default station model for this chooser.
      Overrides:
      getDefaultStationModel in class AddePointDataChooser
      Returns:
      name of default station model
    • 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
    • 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)
    • getDayTimeSelectString

      protected String getDayTimeSelectString()
      Create the date time selection string for the "select" clause of the ADDE URL.
      Overrides:
      getDayTimeSelectString in class AddePointDataChooser
      Returns:
      the select day and time strings
    • getRelativeTimeId

      protected String getRelativeTimeId()
      Get the identifier for relative time. Subclasses can override.
      Overrides:
      getRelativeTimeId in class AddePointDataChooser
      Returns:
      the identifier
    • getAbsoluteTimeSelectMode

      protected int getAbsoluteTimeSelectMode()
      Get the selection mode for the absolute times panel. Subclasses can override.
      Overrides:
      getAbsoluteTimeSelectMode in class TimesChooser
      Returns:
      the list selection mode
    • readTimes

      public void readTimes()
      Set the list of available times.
      Overrides:
      readTimes in class AddePointDataChooser