Package radardisplay
Class RadarParameters
java.lang.Object
userDisplay.UserFrameParameters
radardisplay.RadarParameters
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
public class RadarParameters
extends UserFrameParameters
implements Serializable, Cloneable, ManagedParameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
long
static final long
static final int
static final int
static final int
static final int
static final int
Fields inherited from class userDisplay.UserFrameParameters
boundingRectangle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
convertOldData
(ArrayList<PamDataBlock> dataBlocks) Get a set of data that describes all of the parameters in a classgetRadarDataInfo
(String dataBlockName) Get radar overlay data information for a given datablock name.getRadarDataInfo
(PamDataBlock dataBlock) Get radar overlay data information for a given datablock.boolean
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.void
setRadarDataInfo
(String dataBlockName, RadarDataInfo rdi) Add/update value in hashtable for a specific data block LONG namevoid
setRadarDataInfo
(PamDataBlock dataBlock, RadarDataInfo rdi) Add/update value in hashtable for a specific data blockvoid
Display a warning to let the user know that the display parameters were upgraded and may no longer be correct
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
SIDES_ALL
public static final int SIDES_ALL- See Also:
-
SIDES_RIGHTHALF
public static final int SIDES_RIGHTHALF- See Also:
-
SIDES_LEFTHALF
public static final int SIDES_LEFTHALF- See Also:
-
SIDES_FRONTHALF
public static final int SIDES_FRONTHALF- See Also:
-
SIDES_BACKHALF
public static final int SIDES_BACKHALF- See Also:
-
RADIAL_AMPLITIDE
public static final int RADIAL_AMPLITIDE- See Also:
-
RADIAL_DISTANCE
public static final int RADIAL_DISTANCE- See Also:
-
RADIAL_SLANT_ANGLE
public static final int RADIAL_SLANT_ANGLE- See Also:
-
HEAD_UP
public static final int HEAD_UP- See Also:
-
NORTH_UP
public static final int NORTH_UP- See Also:
-
scrollValue
public long scrollValue
-
-
Constructor Details
-
RadarParameters
public RadarParameters()
-
-
Method Details
-
getScaleName
-
getRadarDataInfo
Get radar overlay data information for a given datablock.- Parameters:
dataBlock
- Data block- Returns:
- Overlay Data information.
-
getRadarDataInfo
Get radar overlay data information for a given datablock name.- Parameters:
dataBlockName
- Data block LONG name- Returns:
- Overlay Data information.
-
setRadarDataInfo
Add/update value in hashtable for a specific data block- Parameters:
dataBlock
- the datablock to add/updaterdi
- the RadarDataInfo object
-
setRadarDataInfo
Add/update value in hashtable for a specific data block LONG name- Parameters:
rdi
- the RadarDataInfo objectdataBlock
- 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
- 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
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Overrides:
getParameterSet
in classUserFrameParameters
- Returns:
- description of the parameters in a class.
-