public class PolarOrbitTrackControl extends ucar.unidata.idv.control.DisplayControlImpl
DisplayControlImpl
with some McIDAS-V
specific extensions. Namely parameter sets and support for inverted
parameter defaults.Modifier and Type | Field and Description |
---|---|
private javax.swing.JLabel |
altLabel |
private java.awt.Color |
antColor |
private javax.swing.JPanel |
antColorPanel |
private ColorSwatchComponent |
antColorSwatch |
private javax.swing.JTextField |
antennaAngle |
private static java.lang.String |
ATTR_NAME |
private static java.lang.String |
ATTR_WIDTH |
private static java.lang.String |
CHECKBOX_LABELS |
private static java.lang.String |
CHECKBOX_SWATH_EDGES |
private ucar.visad.display.CompositeDisplayable |
circleDsp |
private javax.swing.JPanel |
colorPanel |
private ColorSwatchComponent |
colorSwatch |
private int |
curAngle |
private int |
curEdgeLineStyle |
private float |
curSwathCenterWidth |
private java.awt.Color |
curSwathColor |
private float |
curSwathEdgeWidth |
private int |
curTrackLineStyle |
private double |
curWidth |
private static java.lang.String |
CUSTOM_ADD |
(package private) javax.swing.JTextField |
customLab |
(package private) javax.swing.JTextField |
customLat |
(package private) javax.swing.JTextField |
customLon |
private ucar.unidata.data.DataChoice |
dataChoice |
private PolarOrbitTrackDataSource |
dataSource |
private static int |
DEFAULT_ANTENNA_ANGLE |
private static java.awt.Color |
DEFAULT_COLOR |
private static int |
DEFAULT_LABEL_INTERVAL |
private java.awt.Color |
defaultAntColor |
private static float |
FONT_SCALE_FACTOR |
private javax.swing.JPanel |
fontSizePanel |
private java.awt.Font |
gsCurFont |
private ucar.unidata.ui.FontSelector |
gsFontSelector |
private TextType |
gsTextType |
private double |
gsZ |
private javax.swing.JComboBox |
jcbEdgeLineStyle |
private javax.swing.JComboBox |
jcbGSLineWidth |
private javax.swing.JCheckBox |
jcbLabels |
private javax.swing.JComboBox |
jcbSCLineWidth |
private javax.swing.JComboBox |
jcbSELineWidth |
private javax.swing.JComboBox |
jcbStationLineStyle |
private javax.swing.JComboBox |
jcbStationsPlotted |
private javax.swing.JCheckBox |
jcbSwathEdges |
private javax.swing.JComboBox |
jcbTrackLineStyle |
private javax.swing.JSpinner |
js |
private static javax.swing.JLabel |
kmLabel |
private static double |
LABEL_DISTANCE_THRESHOLD |
private int |
labelInterval |
private double |
latitude |
private javax.swing.JLabel |
latLabel |
private javax.swing.JPanel |
latLonAltPanel |
(package private) java.lang.String[] |
lineStyles |
private javax.swing.JComboBox |
locationComboBox |
private javax.swing.JPanel |
locationPanel |
private static org.slf4j.Logger |
logger |
private double |
longitude |
private javax.swing.JLabel |
lonLabel |
private static int |
MAX_ANTENNA_ANGLE |
private ucar.unidata.view.geoloc.NavigatedDisplay |
navDsp |
private java.awt.Font |
otCurFont |
private ucar.unidata.ui.FontSelector |
otFontSelector
the font selectors, Orbit Track (ot) and Ground Station (gs)
|
private TextType |
otTextType |
java.lang.String |
PREF_GROUNDSTATIONS
Property name to get the list or URLs
|
private int |
prvEdgeLineStyle |
private int |
prvStationLineStyle |
private float |
prvSwathCenterWidth |
private java.awt.Color |
prvSwathColor |
private float |
prvSwathEdgeWidth |
private int |
prvTrackLineStyle |
private double |
prvWidth |
private org.w3c.dom.Element |
root |
private double |
satelliteAltitude |
private javax.swing.JLabel |
satelliteName |
private java.lang.String |
station |
private static java.lang.String |
STATION_ADD |
private static java.lang.String |
STATION_MODS |
private static java.lang.String |
STATION_REM |
private ucar.visad.display.CompositeDisplayable |
stationLabelDsp |
private java.util.HashMap<java.lang.String,EarthLocationTuple> |
stationMap |
private static java.lang.String |
SWATH_MODS |
private static java.lang.String |
SWATH_NA |
private static int |
SWATH_WIDTH_MAX |
private static int |
SWATH_WIDTH_MIN |
private static java.lang.String |
SWATH_WIDTHS
Path to the McV swathwidths.xml
|
private ucar.visad.display.CompositeDisplayable |
swathEdgeDsp |
private javax.swing.JTextField |
swathWidthFld |
private javax.swing.JPanel |
swathWidthPanel |
private static java.lang.String |
TAG_SATELLITE |
private ucar.visad.display.CompositeDisplayable |
timeLabelDsp |
private ucar.visad.display.CompositeDisplayable |
trackDsp |
private double |
trackZ |
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, isProgressiveResolution, matchDisplayRegion, noteTextArea, noteWrapper, paramName, reloadFromBounds, requestProperties, resolutionReadout, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, skipTextField, version, viewManagers, ZFUDGE
CMD_BARBSIZE, CMD_COLORS, CMD_COLORTABLE, CMD_INTERVAL, CMD_LEVEL, CMD_LINEWIDTH, CMD_POPUP, CMD_REMOVE, DEFAULT_POINT_SIZE, DEFAULT_SAMPLING_MODE, FIND_ALL, FIND_CATEGORY, FIND_CLASS, FIND_SPECIAL, FIND_THIS, FIND_WITHDATA, FIND_WITHTHISDATA, FIND_WITHTHISFIELD, FIND_WITHTHISVIEW, FLAG_COLOR, FLAG_COLORTABLE, FLAG_COLORUNIT, FLAG_CONTOUR, FLAG_DATACONTROL, FLAG_DISPLAYUNIT, FLAG_GRIDTRAJECTORY, FLAG_LINEWIDTH, FLAG_NONE, FLAG_SELECTRANGE, FLAG_SKIPFACTOR, FLAG_SMOOTHING, FLAG_TEXTUREQUALITY, FLAG_TIMERANGE, FLAG_ZPOSITION, GRID_INSETS, ICON_LOCK, ICON_REMOVE, ICON_UNLOCK, LABEL_NONE, log_, MACRO_DATASOURCENAME, MACRO_DISPLAYNAME, MACRO_DISPLAYUNIT, MACRO_FHOUR, MACRO_FHOUR2, MACRO_LONGNAME, MACRO_POSITION, MACRO_RESOLUTION, MACRO_SHORTNAME, MACRO_STATION, MACRO_TIMESTAMP, MACRO_VALUE, NEAREST_NEIGHBOR, PREF_DISPLAYLIST_TEMPLATE, PREF_EXTRALABEL_TEMPLATE, PREF_LEGENDLABEL_TEMPLATE, PROP_REMOVED, SETTINGS_GROUP_DISPLAY, SETTINGS_GROUP_FLAGS, SHARE_CHOICES, SHARE_COLOR, SHARE_COLORSCALE, SHARE_COLORTABLE, SHARE_DISPLAYUNIT, SHARE_POSITION, SHARE_SELECTRANGE, SHARE_SKIPVALUE, SHARE_TRANSECT, SHARE_VISIBILITY, WEIGHTED_AVERAGE
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND
Constructor and Description |
---|
PolarOrbitTrackControl() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Deal with action events
|
private void |
applyTrackPosition()
Apply the map (height) position to the displays
|
private void |
changeSwathWidth() |
private void |
createTrackDisplay(Data data,
boolean doTrack) |
java.awt.Container |
doMakeContents()
Called by doMakeWindow in DisplayControlImpl, which then calls its
doMakeMainButtonPanel(), which makes more buttons.
|
java.awt.Color |
getAntColor() |
PolarOrbitTrackDataSource |
getDataSource() |
protected Data |
getDisplayListData()
Add the data to the in display legend
|
double |
getLatitude() |
double |
getLongitude() |
java.lang.String |
getStation() |
private float[][][] |
getSwath(float[][] track) |
boolean |
init(ucar.unidata.data.DataChoice dataChoice)
Initialize this instance according to a data choice.
|
void |
itemStateChanged(java.awt.event.ItemEvent ie)
A no-op method to implement the ItemListener interface.
|
private void |
labelGroundStation(java.lang.String station) |
private CurveDrawer |
makeCoverageCircle(double lat,
double lon,
double satAlt,
java.awt.Color color) |
private javax.swing.JPanel |
makeGroundStationPanel() |
private javax.swing.JPanel |
makeSwathWidthPanel() |
private TupleType |
makeTupleType(java.lang.String prefix) |
private void |
plotCoverageCircles() |
void |
setAntColor(java.awt.Color c) |
private void |
setSatelliteAltitude(double val) |
void |
setStation(java.lang.String val) |
private int |
validateSwathWidthField() |
activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addDisplaySettings, addLabelMacros, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyForecastHourMacro, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applySkipFactor, applySmoothing, applyTextureQuality, applyTimeRange, applyZPosition, boundsClose, canBeDocked, canDataDoProgressiveResolution, canDoProgressiveResolution, canExportData, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkFlag, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, close, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, dataChanged, dataSelectionAdaptiveResolution, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, displayUnitChanged, doApplyProperties, doExport, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeDataInstance, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, doRemove, exportDisplayedData, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, firstFrameDone, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorScaleInfo, getColorTable, getColorTableForDisplayable, getColorTableToApply, getColorTableWidget, getColorUnit, getColorUnitName, getColorWidgetLabel, getComponentHolder, getContents, getContourInfo, getControlChangeSleepTime, getControlContext, getControlMenus, getControlWidgets, getCursorReadout, getCursorReadoutInner, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjection, getDataProjectionForMenu, getDataProjectionLabel, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayedData, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, getEditMenuItems, getEditMenuItems, getExpandedInTabs, getExtraLabelTemplate, getExtraLegendComponent, getExtraMenus, getFileMenuItems, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getImage, getInitDataChoices, getInitialColorTable, getInitialFastRendering, getInitialRange, getInitialZPosition, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsRaster, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, getLegendLabels, getLegendLabelTemplate, getLegendToolTip, getLineWidth, getLineWidthWidget, getLineWidthWidgetLabel, getLockVisibilityToggle, getLongParamName, getMacroNames, getMainPanel, getMainPanelSize, getMakeWindow, getMapDisplay, getMapViewManager, getMapViewProjection, getMatchDisplayRegion, getMenuLabel, getMyDataChoices, getNavigatedDisplay, getNoteText, getObjectStore, getOkToFireEvents, getOldColorTableOrInitialColorTable, getOriginalDataChoicesLabel, getOuterContents, getPointSize, getProperty, getProperty, getPropertyDisplayName, getRange, getRangeForColorTable, getRangeToApply, getRawDataUnit, getRequestProperties, getSamplingModeName, getSamplingModeValue, getSamplingModeValue, getSaveMenuItems, getSelectRange, getSelectRangeEnabled, getSelectRangeWidget, getSettingsPanel, getShortParamName, getShoulDoProgressiveResolution, getShowInDisplayList, getShowInLegend, getShowInTabs, getShowNoteText, getSkipValue, getSkipWidgetLabel, getSmoothingFactor, getSmoothingType, getSomeAnimation, getStore, getTemplateName, getTextureQuality, getTextureQualityLabel, getTimeSet, getTitle, getTransientProperty, getUnitForColor, getUseFastRendering, getUsesTimeDriver, getUseTimesInAnimation, getVersion, getVerticalValue, getViewAnimation, getViewContext, getViewer, getViewManager, getViewManager, getViewManager, getViewManagerClassNames, getViewManagerForCapture, getViewManagers, getViewMenuItems, getViewMenuItems, getVisbilityAnimationPause, getWasUnPersisted, getWindow, getWindowSize, getWindowVisible, getWindowX, getWindowY, getZPosition, getZPositionSliderLabel, guiExported, guiImported, handleDisplayChanged, handleWindowClosing, hasForecastHourMacro, hasMapProjection, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAfterUnPersistence, initAfterUnPersistence, initAsPrototype, initAsTemplate, initBasic, initDone, initializeWithNewData, initWindow, isDisplay3D, isDisplayUnitAlsoColorUnit, isGuiShown, isInitDone, isInTransectView, isInViewManager, isRectBad, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeMiscButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, projectionChanged, propertyChange, putTransientProperty, reallySetAttributeFlags, receiveShareData, redoGuiLayout, reloadDataSource, reloadDataSourceInThread, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, resetData, resetDimness, resetViewManager, revertToDefaultColorTable, revertToDefaultColorTable, revertToDefaultRange, revertToDefaultRange, saveAsFavorite, saveAsParameterDefaults, saveAsPrototype, saveAsTemplate, saveDataChoiceInCache, saveImage, selectDataChoices, setAnimationInfo, setAnimationSet, setAttributeFlags, setCachedData, setCanDoRemoveAll, setCategories, setCollapseLegend, setColor, setColorBrighter, setColorDimmer, setColorDimness, setColorScaleInfo, setColorScaleVisible, setColorTable, setColorTable, setColorTableName, setColorUnit, setColorUnitName, setComponentHolder, setContents, setContourInfo, setContourInfoParams, setData, setData, setDataChoices, setDataInstance, setDataInstances, setDataSelection, setDataTimeRange, setDefaultSamplingMode, setDefaultView, setDisplayableVisibility, setDisplayableVisiblity, setDisplayActive, setDisplayCategory, setDisplayId, setDisplayInactive, setDisplayListColor, setDisplayListColor, setDisplayListProperties, setDisplayListTemplate, setDisplayName, setDisplayUnit, setDisplayUnitName, setDisplayVisibility, setDoCursorReadout, setExpandedInTabs, setExtraLabelTemplate, setHadDataChoices, setHelpUrl, setId, setInitDataChoices, setInitialSettings, setInitialViewManager, setIsProgressiveResolution, setIsRaster, setIsTimeDriver, setLabelAsPreference, setLegendBackground, setLegendForeground, setLegendLabel, setLegendLabelTemplate, setLineWidth, setLockVisibilityToggle, setMainPanelDimensions, setMainPanelSize, setMakeWindow, setMatchDisplayRegion, setName, setNameFromUser, setNewColorUnit, setNewDisplayUnit, setNoteText, setOkToFireEvents, setOriginalDataChoicesLabel, setParamName, setPersistedVisadData, setPointSize, setProjectionInView, setProjectionInView, setProperty, setRange, setRange, setSelectRange, setSelectRangeEnabled, setSettingsDisplayUnit, setSharedColorScaleInfo, setShowInDisplayList, setShowInLegend, setShowInTabs, setShowNoteText, setSkipValue, setSmoothingFactor, setSmoothingType, setTemplateName, setTextureQuality, setTitle, setUnitForColor, setUseFastRendering, setUsesTimeDriver, setUseTimesInAnimation, setVersion, setViewer, setViewManagerClassNames, setViewManagerDisplayListColor, setVisbilityAnimationPause, setWindowSize, setWindowVisible, setWindowX, setWindowY, setZPosition, setZPosition, shouldAddAnimationListener, shouldAddControlListener, shouldAddDisplayListener, shouldApplyFastRendering, shouldBeDocked, shouldWindowBeVisible, show, showColorControlWidget, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, timeChanged, toFront, toggleNoteTextArea, toggleVisibilityForVectorGraphicsRendering, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, updateMiscButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, viewpointChanged, writeTestArchive, xxxsetDisplayActive, zSliderChanged
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private static final org.slf4j.Logger logger
private javax.swing.JLabel satelliteName
private static final javax.swing.JLabel kmLabel
private javax.swing.JTextField swathWidthFld
private javax.swing.JPanel swathWidthPanel
private java.util.HashMap<java.lang.String,EarthLocationTuple> stationMap
private double latitude
private double longitude
private javax.swing.JPanel fontSizePanel
private javax.swing.JPanel colorPanel
private javax.swing.JPanel antColorPanel
private javax.swing.JPanel locationPanel
private javax.swing.JPanel latLonAltPanel
public final java.lang.String PREF_GROUNDSTATIONS
private javax.swing.JComboBox locationComboBox
private javax.swing.JComboBox jcbStationsPlotted
java.lang.String[] lineStyles
private javax.swing.JComboBox jcbTrackLineStyle
private javax.swing.JComboBox jcbEdgeLineStyle
private javax.swing.JComboBox jcbStationLineStyle
private javax.swing.JCheckBox jcbLabels
private javax.swing.JCheckBox jcbSwathEdges
private static final java.lang.String CHECKBOX_LABELS
private static final java.lang.String CHECKBOX_SWATH_EDGES
private java.lang.String station
private static final int SWATH_WIDTH_MIN
private static final java.lang.String SWATH_NA
private static final int SWATH_WIDTH_MAX
private static final int DEFAULT_ANTENNA_ANGLE
private static final int MAX_ANTENNA_ANGLE
private int curAngle
private static final double LABEL_DISTANCE_THRESHOLD
private ucar.unidata.data.DataChoice dataChoice
private javax.swing.JLabel latLabel
private javax.swing.JLabel lonLabel
private javax.swing.JLabel altLabel
private javax.swing.JTextField antennaAngle
javax.swing.JTextField customLat
javax.swing.JTextField customLon
javax.swing.JTextField customLab
private ucar.unidata.ui.FontSelector otFontSelector
private java.awt.Font otCurFont
private ucar.unidata.ui.FontSelector gsFontSelector
private java.awt.Font gsCurFont
private javax.swing.JComboBox jcbGSLineWidth
private javax.swing.JComboBox jcbSCLineWidth
private javax.swing.JComboBox jcbSELineWidth
private javax.swing.JSpinner js
private ucar.visad.display.CompositeDisplayable trackDsp
private ucar.visad.display.CompositeDisplayable timeLabelDsp
private ucar.visad.display.CompositeDisplayable stationLabelDsp
private ucar.visad.display.CompositeDisplayable swathEdgeDsp
private ucar.visad.display.CompositeDisplayable circleDsp
private static final int DEFAULT_LABEL_INTERVAL
private int labelInterval
private ColorSwatchComponent colorSwatch
private static final java.awt.Color DEFAULT_COLOR
private java.awt.Color curSwathColor
private java.awt.Color prvSwathColor
private ColorSwatchComponent antColorSwatch
private java.awt.Color antColor
private java.awt.Color defaultAntColor
private PolarOrbitTrackDataSource dataSource
private double satelliteAltitude
private double trackZ
private double gsZ
private ucar.unidata.view.geoloc.NavigatedDisplay navDsp
private TextType otTextType
private TextType gsTextType
private double curWidth
private double prvWidth
private int prvStationLineStyle
private int prvTrackLineStyle
private int prvEdgeLineStyle
private int curTrackLineStyle
private int curEdgeLineStyle
private static final float FONT_SCALE_FACTOR
private float prvSwathCenterWidth
private float curSwathCenterWidth
private float prvSwathEdgeWidth
private float curSwathEdgeWidth
private static final java.lang.String SWATH_WIDTHS
private static final java.lang.String TAG_SATELLITE
private static final java.lang.String ATTR_NAME
private static final java.lang.String ATTR_WIDTH
private static final java.lang.String SWATH_MODS
private static final java.lang.String STATION_MODS
private static final java.lang.String STATION_ADD
private static final java.lang.String STATION_REM
private static final java.lang.String CUSTOM_ADD
private org.w3c.dom.Element root
public PolarOrbitTrackControl()
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class ucar.unidata.idv.control.DisplayControlImpl
ae
- the ActionEvent fired when the user applies changesprivate void applyTrackPosition()
private void changeSwathWidth()
private void createTrackDisplay(Data data, boolean doTrack)
public java.awt.Container doMakeContents()
doMakeContents
in class ucar.unidata.idv.control.DisplayControlImpl
private CurveDrawer makeCoverageCircle(double lat, double lon, double satAlt, java.awt.Color color)
public java.awt.Color getAntColor()
public PolarOrbitTrackDataSource getDataSource()
protected Data getDisplayListData()
ucar.unidata.idv.control.DisplayControlImpl
getDisplayListData
in class ucar.unidata.idv.control.DisplayControlImpl
public double getLatitude()
public double getLongitude()
public java.lang.String getStation()
private float[][][] getSwath(float[][] track)
public boolean init(ucar.unidata.data.DataChoice dataChoice) throws VisADException, java.rmi.RemoteException
ucar.unidata.idv.control.DisplayControlImpl
Initialize this instance according to a data choice. Subclasses should
override this method. Overridding methods should probably invoke DisplayControlImpl.setData(DataChoice)
as part of their initialization procedure --
although it is unclear when this is actually necessary.
This implementation simply returns true
.
init
in class ucar.unidata.idv.control.DisplayControlImpl
dataChoice
- A data choice or null
.true
if and only if this instance
was correctly initialized by the data choice.VisADException
- if a VisAD Failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public void itemStateChanged(java.awt.event.ItemEvent ie)
ucar.unidata.idv.control.DisplayControlImpl
itemStateChanged
in interface java.awt.event.ItemListener
itemStateChanged
in class ucar.unidata.idv.control.DisplayControlImpl
ie
- The eventprivate void labelGroundStation(java.lang.String station)
private javax.swing.JPanel makeGroundStationPanel()
private javax.swing.JPanel makeSwathWidthPanel()
private TupleType makeTupleType(java.lang.String prefix)
private void plotCoverageCircles()
public void setAntColor(java.awt.Color c)
private void setSatelliteAltitude(double val)
public void setStation(java.lang.String val)
private int validateSwathWidthField()