Package radardisplay

Class RadarParameters

All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class RadarParameters extends UserFrameParameters implements Serializable, Cloneable, ManagedParameters
See Also:
  • Field Details

  • Constructor Details

    • RadarParameters

      public RadarParameters()
  • Method Details

    • getScaleName

      public String getScaleName()
    • getRadarDataInfo

      public RadarDataInfo getRadarDataInfo(PamDataBlock dataBlock)
      Get radar overlay data information for a given datablock.
      Parameters:
      dataBlock - Data block
      Returns:
      Overlay Data information.
    • getRadarDataInfo

      public RadarDataInfo getRadarDataInfo(String dataBlockName)
      Get radar overlay data information for a given datablock name.
      Parameters:
      dataBlockName - Data block LONG name
      Returns:
      Overlay Data information.
    • setRadarDataInfo

      public void setRadarDataInfo(PamDataBlock dataBlock, RadarDataInfo rdi)
      Add/update value in hashtable for a specific data block
      Parameters:
      dataBlock - the datablock to add/update
      rdi - the RadarDataInfo object
    • setRadarDataInfo

      public void setRadarDataInfo(String dataBlockName, RadarDataInfo rdi)
      Add/update value in hashtable for a specific data block LONG name
      Parameters:
      rdi - the RadarDataInfo object
      dataBlock - the datablock long name to add/update
    • isThereOnlyOldData

      public boolean isThereOnlyOldData()
      If we have not defined radarDataInfoChoices yet but the detectorLifetime array exists, it means that the user is loading a psfx that was created previously so return a true. If radarDataInfoChoices exists or neither of them exist, then return false.
      Returns:
    • convertOldData

      public boolean convertOldData(ArrayList<PamDataBlock> dataBlocks)
      Parameters:
      dataBlocks -
      Returns:
    • showUpgradeWarning

      public void showUpgradeWarning()
      Display a warning to let the user know that the display parameters were upgraded and may no longer be correct
    • clone

      public RadarParameters clone()
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Overrides:
      getParameterSet in class UserFrameParameters
      Returns:
      description of the parameters in a class.