public class StormTrackControl extends DisplayControlImpl
DisplayControlImpl.SideLegendLabelcategories, 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, version, viewManagers, ZFUDGECMD_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_AVERAGEBOTTOM_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 |
|---|
StormTrackControl()
Create a new Track Control; set the attribute flags
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPropertiesComponents(JTabbedPane jtp)
_more_
|
protected void |
applyRange()
Apply the range it to the
Displayables in the displayables
list that are flagged with the FLAG_COLORTABLE |
private boolean |
applyWaysToUse()
_more_
|
protected boolean |
canHandleEvents()
_more_
|
private boolean |
checkTracksVisible(Real currentAnimationTime,
WayDisplayState wds)
_more_
|
void |
deleteStormDisplayState()
_more_
|
boolean |
doApplyProperties()
_more_
|
protected Container |
doMakeContents()
Make the gui
|
void |
doRemove()
_more_
|
protected Object[] |
findClosestPoint(EarthLocation el,
List<StormDisplayState> theStates,
Real animationValue,
int distanceThresholdPixels)
This finds the StormTrack and StormTrackPoint that is closest to the
given location
|
protected String |
formatStormTrackPoint(ucar.unidata.data.storm.StormTrack stormTrack,
ucar.unidata.data.storm.StormTrackPoint stp)
_more_
|
private List<StormDisplayState> |
getActiveStorms()
_more_
|
private ucar.unidata.data.storm.StormTrack |
getClosestTimeForecastTrack(List<ucar.unidata.data.storm.StormTrack> tracks,
Real pTime)
_more_
|
StormDisplayState |
getCurrentStormDisplayState()
_more_
|
protected List |
getCursorReadoutInner(EarthLocation el,
Real animationValue,
int animationStep,
List<ReadoutInfo> samples)
_more_
|
MapProjection |
getDataProjection()
_more_
|
MapProjection |
getDataProjectionForMenu()
_more_
|
protected String |
getDataProjectionLabel()
_more_
|
DisplayMaster |
getDisplayMaster()
_more_
|
protected void |
getEditMenuItems(List items,
boolean forMenuBar)
_more_
|
boolean |
getEditMode()
Get the EditMode property.
|
String |
getEndTime()
Get the EndTime property.
|
StormDisplayState |
getLocalStormDisplayState()
Get the LocalStormDisplayState property.
|
ucar.unidata.data.storm.Way |
getObservationWay()
_more_
|
Hashtable<String,Boolean> |
getOkParams()
Get the OkParams property.
|
Hashtable<String,Boolean> |
getOkWays()
Get the OkWays property.
|
protected String |
getPref(String basePref)
_more_
|
private Hashtable |
getPreferences()
_more_
|
protected void |
getSaveMenuItems(List items,
boolean forMenuBar)
_more_
|
String |
getStartTime()
Get the StartTime property.
|
ucar.unidata.data.storm.StormDataSource |
getStormDataSource()
_more_
|
private List<StormDisplayState> |
getStormDisplays()
_more_
|
private StormDisplayState |
getStormDisplayState(ucar.unidata.data.storm.StormInfo stormInfo)
_more_
|
List<StormDisplayState> |
getStormDisplayStates()
Get the StormDisplayStates property.
|
List<ucar.unidata.data.storm.StormParam> |
getTrackParams()
_more_
|
protected void |
getViewMenuItems(List items,
boolean forMenuBar)
_more_
|
NavigatedDisplay |
getVM()
_more_
|
String |
getWayName()
_more_
|
String |
getWaysName()
_more_
|
private JComponent |
getWaysToUseComp()
_more_
|
YearDisplayState |
getYearDisplayState(int year)
_more_
|
List<YearDisplayState> |
getYearDisplayStates()
Get the YearDisplayStates property.
|
int |
getYearTimeMode()
Get the YearTimeMode property.
|
private void |
handleChangedStationModel(String name)
_more_
|
void |
handleDisplayChanged(DisplayEvent event)
_more_
|
boolean |
hasMapProjection()
_more_
|
boolean |
init(DataChoice dataChoice)
Call to help make this kind of Display Control; also calls code to made
the Displayable (empty of data thus far).
|
void |
initDone()
_more_
|
void |
initYears()
_more_
|
protected boolean |
isEditable()
_more_
|
void |
loadYear(YearDisplayState yds)
_more_
|
void |
loadYearInner(YearDisplayState yds)
_more_
|
private void |
loadYearPointData()
_more_
|
protected FieldImpl |
makeTrackField(ucar.unidata.data.storm.StormTrack track,
ucar.unidata.data.storm.StormParam param)
_more_
|
protected boolean |
okToShowParam(ucar.unidata.data.storm.StormParam param)
_more_
|
protected boolean |
okToShowWay(ucar.unidata.data.storm.Way way)
_more_
|
private void |
onlyShowTheseParams(List<ucar.unidata.data.storm.StormParam> params,
boolean writeAsPreference)
_more_
|
private void |
onlyShowTheseWays(List<ucar.unidata.data.storm.Way> ways,
boolean writeAsPreference)
_more_
|
void |
propertyChange(PropertyChangeEvent evt)
Property change method.
|
private void |
putPreference(String key,
Object object)
_more_
|
private void |
reloadStormTracks()
_more_
|
protected void |
resetData()
This gets called when the control has received notification of a
dataChange event.
|
void |
saveStormDisplayState()
_more_
|
void |
setColorTable(String whichColorTable,
ColorTable newColorTable)
_more_
|
void |
setEditMode(boolean value)
Set the EditMode property.
|
void |
setEndTime(String value)
Set the EndTime property.
|
void |
setLocalStormDisplayState(StormDisplayState value)
Set the LocalStormDisplayState property.
|
void |
setObservationWay(ucar.unidata.data.storm.Way value)
_more_
|
void |
setOkParams(Hashtable<String,Boolean> value)
Set the OkParams property.
|
void |
setOkWays(Hashtable<String,Boolean> value)
Set the OkWays property.
|
void |
setStartTime(String value)
Set the StartTime property.
|
void |
setStormDisplayStates(List<StormDisplayState> value)
Set the StormDisplayStates property.
|
void |
setYearDisplayStates(List<YearDisplayState> value)
Set the YearDisplayStates property.
|
void |
setYearTimeMode(int value)
Set the YearTimeMode property.
|
protected boolean |
shouldAddControlListener()
Signal base class to add this as a control listener
|
void |
showWaysToUseDialog()
_more_
|
void |
stormChanged(StormDisplayState stormDisplayState)
_more_
|
protected void |
timeChanged(Real time)
Respond to a timeChange event
|
void |
unloadAllTracks()
_more_
|
void |
unloadYear(YearDisplayState yds)
_more_
|
void |
viewpointChanged()
_more_
|
void |
viewStorm(StormDisplayState stormDisplayState)
_more_
|
private void |
writePreferences()
_more_
|
protected void |
writeToGE(Element docNode,
Hashtable state,
Element parent,
ucar.unidata.data.storm.StormTrack track,
Color color)
_more_
|
void |
writeToKml()
_more_
|
void |
writeToKml(String filename,
boolean doObs,
boolean doForecast,
boolean mostRecent)
_more_
|
actionPerformed, activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addDisplaySettings, addLabelMacros, addNewData, addNoteText, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, 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, doExport, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeDataInstance, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, 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, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayedData, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, 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, 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, getVisbilityAnimationPause, getWasUnPersisted, getWindow, getWindowSize, getWindowVisible, getWindowX, getWindowY, getZPosition, getZPositionSliderLabel, guiExported, guiImported, handleWindowClosing, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAfterUnPersistence, initAfterUnPersistence, initAsPrototype, initAsTemplate, initBasic, initializeWithNewData, initWindow, isDisplay3D, isDisplayUnitAlsoColorUnit, isGuiShown, isInitDone, isInTransectView, isInViewManager, isRectBad, itemStateChanged, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeMiscButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, projectionChanged, putTransientProperty, reallySetAttributeFlags, receiveShareData, redoGuiLayout, reloadDataSource, reloadDataSourceInThread, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, 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, 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, setVisbilityAnimationPause, setWindowSize, setWindowVisible, setWindowX, setWindowY, setZPosition, setZPosition, shouldAddAnimationListener, shouldAddDisplayListener, shouldApplyFastRendering, shouldBeDocked, shouldWindowBeVisible, show, showColorControlWidget, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, toFront, toggleNoteTextArea, toggleVisibilityForVectorGraphicsRendering, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, updateMiscButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, writeTestArchive, xxxsetDisplayActive, zSliderChangedboxToEarth, 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, userMessageapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTmpProperty, putTmpProperty, removeTmpPropertygetReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTimeprivate static final String PREF_STORMDISPLAYSTATE
private static final String PREF_OKWAYS
private static final String PREF_OBWAY
private static final String PREF_OKPARAMS
private static int cnt
private StormDisplayState localStormDisplayState
private Hashtable preferences
private ucar.unidata.data.storm.Way observationWay
private CompositeDisplayable placeHolder
private ucar.unidata.data.storm.StormDataSource stormDataSource
private List<ucar.unidata.data.storm.StormInfo> stormInfos
private EarthLocation lastEarthLocation
private Hashtable<ucar.unidata.data.storm.StormInfo,StormDisplayState> stormDisplayStateMap
private List<StormDisplayState> activeStorms
private static final int YEAR_TIME_MODE_YEAR
private static final int YEAR_TIME_MODE_STORM
private int yearTimeMode
private Hashtable<Integer,YearDisplayState> yearDisplayStateMap
private JComboBox timeModeBox
private JCheckBox forecastCbx
private JCheckBox mostRecentCbx
private TwoListPanel waysToUseSelector
private TwoListPanel chartParamsSelector
private JCheckBox waysToUsePreferenceCbx
private JCheckBox chartParamsPreferenceCbx
private List<ucar.unidata.data.storm.Way> allWays
private List<ucar.unidata.data.storm.Way> useWays
private List<ucar.unidata.data.storm.StormParam> allParams
private List<ucar.unidata.data.storm.StormParam> useParams
private JCheckBox obsWayPreferenceCbx
private List<JRadioButton> obsWayRadioButtons
private boolean editMode
private Hashtable rangeTypes
private StationModelDisplayable yearLabels
public StormTrackControl()
protected String getPref(String basePref)
basePref - _more_protected boolean isEditable()
public NavigatedDisplay getVM()
public boolean init(DataChoice dataChoice) throws VisADException, RemoteException
init in class DisplayControlImpldataChoice - the DataChoice of the moment.RemoteException - Java RMI errorVisADException - VisAD Errorprivate JComponent getWaysToUseComp()
private boolean applyWaysToUse()
public void showWaysToUseDialog()
protected void addPropertiesComponents(JTabbedPane jtp)
addPropertiesComponents in class DisplayControlImpljtp - _more_public List<ucar.unidata.data.storm.StormParam> getTrackParams()
public boolean doApplyProperties()
doApplyProperties in class DisplayControlImplprotected boolean shouldAddControlListener()
shouldAddControlListener in class DisplayControlImplpublic void viewpointChanged()
viewpointChanged in class DisplayControlImplprotected FieldImpl makeTrackField(ucar.unidata.data.storm.StormTrack track, ucar.unidata.data.storm.StormParam param) throws Exception
track - _more_param - _more_Exception - _more_public void setColorTable(String whichColorTable, ColorTable newColorTable) throws RemoteException, VisADException
setColorTable in class DisplayControlImplwhichColorTable - _more_newColorTable - _more_RemoteException - _more_VisADException - _more_public DisplayMaster getDisplayMaster()
protected boolean okToShowWay(ucar.unidata.data.storm.Way way)
way - _more_protected boolean okToShowParam(ucar.unidata.data.storm.StormParam param)
param - _more_public StormDisplayState getCurrentStormDisplayState()
protected void resetData() throws VisADException, RemoteException
resetData in class DisplayControlImplRemoteException - Java RMI problemVisADException - VisAD problemprivate List<StormDisplayState> getStormDisplays()
private void reloadStormTracks()
private void onlyShowTheseWays(List<ucar.unidata.data.storm.Way> ways, boolean writeAsPreference)
ways - _more_writeAsPreference - _more_private void onlyShowTheseParams(List<ucar.unidata.data.storm.StormParam> params, boolean writeAsPreference)
params - _more_writeAsPreference - _more_public ucar.unidata.data.storm.StormDataSource getStormDataSource()
public void viewStorm(StormDisplayState stormDisplayState)
stormDisplayState - _more_public void unloadAllTracks()
protected boolean canHandleEvents()
public void handleDisplayChanged(DisplayEvent event)
handleDisplayChanged in class DisplayControlImplevent - _more_protected void getSaveMenuItems(List items, boolean forMenuBar)
getSaveMenuItems in class DisplayControlImplitems - _more_forMenuBar - _more_protected void getEditMenuItems(List items, boolean forMenuBar)
getEditMenuItems in class DisplayControlImplitems - _more_forMenuBar - _more_protected void getViewMenuItems(List items, boolean forMenuBar)
getViewMenuItems in class DisplayControlImplitems - _more_forMenuBar - _more_public String getWayName()
public String getWaysName()
protected String getDataProjectionLabel()
getDataProjectionLabel in class DisplayControlImplpublic MapProjection getDataProjection()
getDataProjection in interface DisplayControlgetDataProjection in class DisplayControlImplpublic boolean hasMapProjection()
hasMapProjection in class DisplayControlImplpublic MapProjection getDataProjectionForMenu()
getDataProjectionForMenu in class DisplayControlImplprivate List<StormDisplayState> getActiveStorms()
private Hashtable getPreferences()
public void deleteStormDisplayState()
public void saveStormDisplayState()
private void writePreferences()
private void putPreference(String key, Object object)
key - _more_object - _more_private StormDisplayState getStormDisplayState(ucar.unidata.data.storm.StormInfo stormInfo)
stormInfo - _more_public void initDone()
initDone in class DisplayControlImplpublic void doRemove() throws VisADException, RemoteException
doRemove in interface DisplayControldoRemove in class DisplayControlImplRemoteException - _more_VisADException - _more_public void initYears()
private void loadYearPointData()
public void unloadYear(YearDisplayState yds)
yds - _more_public void loadYear(YearDisplayState yds)
yds - _more_public void loadYearInner(YearDisplayState yds) throws Exception
yds - _more_Exception - _more_public void writeToKml()
public void writeToKml(String filename, boolean doObs, boolean doForecast, boolean mostRecent) throws VisADException, RemoteException
filename - _more_doObs - _more_doForecast - _more_mostRecent - _more_RemoteException - _more_VisADException - _more_protected void writeToGE(Element docNode, Hashtable state, Element parent, ucar.unidata.data.storm.StormTrack track, Color color) throws Exception
docNode - _more_state - _more_parent - _more_track - _more_color - _more_RemoteException - _more_VisADException - _more_Exception - _more_protected Container doMakeContents() throws VisADException, RemoteException
doMakeContents in class DisplayControlImplRemoteException - On BadnessVisADException - On Badnesspublic void stormChanged(StormDisplayState stormDisplayState)
stormDisplayState - _more_protected void timeChanged(Real time)
timeChanged in class DisplayControlImpltime - new timepublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpropertyChange in class DisplayControlImplevt - event to act onprivate void handleChangedStationModel(String name)
name - _more_public void setStormDisplayStates(List<StormDisplayState> value)
value - The new value for StormDisplayStatespublic List<StormDisplayState> getStormDisplayStates()
public YearDisplayState getYearDisplayState(int year)
year - _more_public void setYearDisplayStates(List<YearDisplayState> value)
value - The new value for YearDisplayStatespublic List<YearDisplayState> getYearDisplayStates()
protected List getCursorReadoutInner(EarthLocation el, Real animationValue, int animationStep, List<ReadoutInfo> samples) throws Exception
getCursorReadoutInner in class DisplayControlImplel - _more_animationValue - _more_animationStep - _more_samples - _more_Exception - _more_protected String formatStormTrackPoint(ucar.unidata.data.storm.StormTrack stormTrack, ucar.unidata.data.storm.StormTrackPoint stp) throws VisADException, RemoteException
stormTrack - _more_stp - _more_RemoteException - _more_VisADException - _more_protected Object[] findClosestPoint(EarthLocation el, List<StormDisplayState> theStates, Real animationValue, int distanceThresholdPixels) throws Exception
el - _more_theStates - _more_animationValue - _more_distanceThresholdPixels - _more_Exception - _more_private boolean checkTracksVisible(Real currentAnimationTime, WayDisplayState wds) throws Exception
currentAnimationTime - _more_wds - _more_Exception - _more_private ucar.unidata.data.storm.StormTrack getClosestTimeForecastTrack(List<ucar.unidata.data.storm.StormTrack> tracks, Real pTime) throws VisADException
tracks - _more_pTime - _more_VisADException - _more_public void setOkWays(Hashtable<String,Boolean> value)
value - The new value for OkWayspublic void setObservationWay(ucar.unidata.data.storm.Way value)
value - _more_public ucar.unidata.data.storm.Way getObservationWay()
public void setOkParams(Hashtable<String,Boolean> value)
value - The new value for OkParamspublic Hashtable<String,Boolean> getOkParams()
public void setStartTime(String value)
value - The new value for StartTimepublic String getStartTime()
public void setEndTime(String value)
value - The new value for EndTimepublic String getEndTime()
public void setLocalStormDisplayState(StormDisplayState value)
value - The new value for LocalStormDisplayStatepublic StormDisplayState getLocalStormDisplayState()
public void setYearTimeMode(int value)
value - The new value for YearTimeModepublic int getYearTimeMode()
public void setEditMode(boolean value)
value - The new value for EditModepublic boolean getEditMode()
protected void applyRange() throws VisADException, RemoteException
ucar.unidata.idv.control.DisplayControlImplDisplayables in the displayables
list that are flagged with the FLAG_COLORTABLEapplyRange in class DisplayControlImplVisADExceptionRemoteException