public class StationLocationControl extends StationModelControl
ObsDisplayControl.RealWrapperDisplayControlImpl.SideLegendLabelcurrentStationData, densityComps, filters, lastDeclutteredData, layoutModelWidget, lockIcon, stationsLocked, timeDeclutterComps, unlockIcon, zPositionPanelcolNames, colString, FIELD_ALL, format, LABEL_ALT, LABEL_LAT, LABEL_LON, LABEL_TIMEcategories, 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 |
|---|
StationLocationControl()
Default cstr; sets attribute flags
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Only public as a result of this being an ActionListener.
|
protected void |
addSelectedToList(java.util.List listOfStations)
add the selected stations to the given list
|
void |
buttonPressed(int index)
The id or station button was pressed
|
protected StationModelDisplayable |
createStationModelDisplayable()
Called by the init method to create the
StationModelDisplayable used for this instance. |
protected java.awt.Container |
doMakeContents()
Called by the init method to create the contents of this
DisplayControl's UI. |
protected DataInstance |
doMakeDataInstance(DataChoice dataChoice)
Creates and returns the
DataInstance
corresponding to a DataChoice. |
protected javax.swing.JComponent |
doMakeDisplayPanel()
Make the display gui panel
|
protected javax.swing.JComponent |
doMakeStationListPanel()
Make the list of stations panel
|
protected javax.swing.JTabbedPane |
doMakeTabs(boolean showDataSets,
boolean showFilters)
Make the main tabbed pane gui
|
void |
exportLocations()
Write out the locations as an xml file
|
boolean |
getCenterOnClick()
Get the CenterOnClick property.
|
protected java.util.List |
getCursorReadoutInner(visad.georef.EarthLocation el,
visad.Real animationValue,
int animationStep,
java.util.List<ReadoutInfo> samples)
_more_
|
visad.georef.MapProjection |
getDataProjection()
get MapProjection of data to display
|
visad.georef.MapProjection |
getDataProjectionForMenu()
Get the MapProjection for this data; if have a single point data object
make synthetic map projection for location
|
protected java.lang.String |
getDataProjectionLabel()
What label to use for the data projection
|
protected java.lang.String |
getDetailsContents()
Get the contents of the details html
|
boolean |
getDetailsInLegend()
Get the DetailsInLegend property.
|
protected void |
getEditMenuItems(java.util.List items,
boolean forMenuBar)
Add the relevant edit menu items into the list
|
boolean |
getEnabled()
Get the Enabled property.
|
protected javax.swing.JComponent |
getExtraLegendComponent(int legendType)
Assume that any display controls that have a color table widget
will want the color table to show up in the legend.
|
protected java.util.List |
getFilterNames()
Return the list of names that shows up in the filter gui names combob box.
|
int |
getIdType()
Get the id type for this instance.
|
void |
getLegendLabels(java.util.List labels,
int legendType)
Get the extra label used for the legend.
|
java.lang.String |
getMenuLabel()
Get the label used for the a menu.
|
StationModel |
getMyStationModel()
Get the current station model view.
|
protected void |
getSaveMenuItems(java.util.List items,
boolean forMenuBar)
Add the relevant file menu items into the list
|
boolean |
getShowId()
Get whether the id should be shown (visible).
|
boolean |
getShowSymbol()
Get whether the symbol should be shown (visible).
|
protected java.util.List |
getStationList()
Get the station List.
|
protected java.lang.String |
getStationTableDescription()
Get the station table description.
|
java.util.List |
getStationTableNames()
Get the StationTableNames property.
|
int |
getSymbolType()
Get the symbol type for this instance.
|
boolean |
getUseStationModel()
Get the UseStationModel property.
|
protected void |
getViewMenuItems(java.util.List items,
boolean forMenuBar)
_more_
|
protected void |
handleChangedStationModel(StationModel changedModel)
Station model has changed.
|
protected void |
handleMousePressed(visad.georef.EarthLocation el,
visad.DisplayEvent event)
Handle when the user clicks in the main display
|
boolean |
hasMapProjection()
Do we have a map projection
|
boolean |
init(DataChoice dataChoice)
Called to make this kind of Display Control; also calls code to
made the Displayable.
|
void |
initAsPrototype()
Clear out the station table names
|
protected void |
initDisplayable(StationModelDisplayable myDisplay)
_more_
|
void |
initDone()
Init is done
|
protected boolean |
isChartEnabled()
Overwrite base class method so we don't show the chart
|
void |
loadData()
Loads the data into the
StationModelDisplayable. |
protected void |
loadDataInAWhile()
_more_
|
protected void |
makeStationModelEditMenuItems(java.util.List items,
boolean forMenuBar)
Get edit menu items
|
void |
reloadDataSource()
The data changed.
|
protected void |
resetData()
This gets called when the control has received notification of a
dataChange event.
|
protected void |
selectedStationsChanged(java.util.List selectionList)
The list of stations that changed
|
void |
setCenterOnClick(boolean value)
Set the CenterOnClick property.
|
protected boolean |
setData(DataChoice choice)
Override the superclass method since currently, the DataChoice
for this instance is null or not used.
|
void |
setDeclutter(boolean v)
Override setDeclutter
|
void |
setDetailsInLegend(boolean value)
Set the DetailsInLegend property.
|
void |
setEnabled(boolean value)
Set the Enabled property.
|
void |
setIdType(int value)
Set the id type for this instance.
|
void |
setOnlyShowFiltered(boolean value)
Set the OnlyShowFiltered property.
|
protected void |
setScaleOnDisplayable(float f)
set the scale factor on the displayable
|
protected void |
setSelectedStations(java.util.List<NamedStationImpl> stations)
set the selected stations
|
void |
setShowId(boolean value)
Set whether the id should be shown (visible).
|
void |
setShowSymbol(boolean value)
Set whether the symbol should be shown (visible).
|
void |
setStationTableName(java.lang.String value)
Set the station table name for this instance.
|
void |
setStationTableNames(java.util.List value)
Set the StationTableNames property.
|
void |
setSymbolType(int value)
Set the symbol type for this instance.
|
void |
setUseStationModel(boolean value)
Set the UseStationModel property.
|
void |
showFlythrough()
_more_
|
addChartParam, addDensityComp, addDisplaySettings, addTimeDeclutterComp, applyFilters, applyTimeRange, calculateLatLonBounds, canDoProgressiveResolution, chartChanged, dataChanged, decodeFilterString, doInitialUpdateLegendAndList, doMakeFilterGui, doMakeSideLegendComponent, doMakeVerticalPositionPanel, doRemove, editStationTable, exportAsCsv, exportAsKmz, fieldSelectorChanged, filterData, findClosestOb, firstFrameDone, getAskedUserToDeclutterTime, getBounds, getChart, getChartParams, getColorTable, getColorTableToApply, getColorWidgetLabel, getControlWidgets, getDeclutter, getDeclutterFilter, getDensityControl, getDisplayableScale, getFilters, getFiltersEnabled, getImage, getInitialColorTable, getLockButton, getMatchAll, getOnlyShowFiltered, getRangeForColorTable, getRangeToApply, getScale, getScaleFromDisplayable, getSelectedObId, getSelectedObLocation, getShouldUseAltitude, getStationModel, getStationModelName, getStationsLocked, getTheStationModel, getTimeSeries, getTupleType, getUseDataTimes, getUseLastTime, handleDisplayChanged, handleOnlyShow, haveFilters, initAfterUnPersistence, initFilters, isInitDone, loadDataInThread, projectionChanged, propertyChange, removeChartParam, setAskedUserToDeclutterTime, setChartParams, setChartSettings, setDeclutterFilter, setDisplayableScale, setFilters, setFiltersEnabled, setLayoutModel, setMatchAll, setScaleOnDisplayable, setSelectedObId, setSelectedObLocation, setShouldUseAltitude, setShouldUseAltitudeIndex, setShowAllTimes, setShowThumbNail, setStationModelFromWidget, setStationModelName, setStationsLocked, setTheStationModel, setTimeSeries, setUseDataTimes, setUseLastTime, shouldAddControlListener, shouldAddDisplayListener, showLineProperties, test, timeChanged, timeDeclutterChanged, toFront, transectChanged, updateLockButton, updateTable, viewpointChangedapplyPreferences, doDeclutterTime, doMakeFieldSelector, doMakeShowRawSelector, exportAsNetcdf, getColString, getColValue, getColValue, getDisplayUnit, getDisplayUnitName, getFieldsToShow, getIndex, getIndicesToShow, getParamLabel, getShowDataRaw, getTimeDeclutterComps, getTimeDeclutterEnabled, getTimeDeclutterMinutes, isIdParam, setColString, setShowDataRaw, setTimeDeclutterEnabled, setTimeDeclutterMinutes, showFieldSelector, updateTimeDeclutterMinutesactivateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addLabelMacros, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyForecastHourMacro, applyLineWidth, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applySkipFactor, applySmoothing, applyTextureQuality, applyZPosition, boundsClose, canBeDocked, canExportData, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkFlag, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, close, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, displayUnitChanged, doApplyProperties, doExport, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSkipFactorSlider, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, exportDisplayedData, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorScaleInfo, getColorTableForDisplayable, getColorTableWidget, getColorUnit, getColorUnitName, getComponentHolder, getContents, getContourInfo, getControlChangeSleepTime, getControlContext, getControlMenus, getCursorReadout, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayedData, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, getEditMenuItems, getExpandedInTabs, getExtraLabelTemplate, getExtraMenus, getFileMenuItems, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getInitDataChoices, getInitialFastRendering, getInitialRange, getInitialZPosition, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsRaster, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, getLegendLabelTemplate, getLegendToolTip, getLineWidth, getLineWidthWidget, getLineWidthWidgetLabel, getLockVisibilityToggle, getLongParamName, getMacroNames, getMainPanel, getMainPanelSize, getMakeWindow, getMapDisplay, getMapViewManager, getMapViewProjection, getMatchDisplayRegion, getMyDataChoices, getNavigatedDisplay, getNoteText, getObjectStore, getOkToFireEvents, getOldColorTableOrInitialColorTable, getOriginalDataChoicesLabel, getOuterContents, getPointSize, getProperty, getProperty, getPropertyDisplayName, getRange, 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, hasForecastHourMacro, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAfterUnPersistence, initAsTemplate, initBasic, initializeWithNewData, initWindow, isDisplay3D, isDisplayUnitAlsoColorUnit, isGuiShown, isInTransectView, isInViewManager, itemStateChanged, loadDataFromViewBounds, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, putTransientProperty, reallySetAttributeFlags, receiveShareData, redoGuiLayout, reloadDataSourceInThread, relocateDisplay, relocateDisplay, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, resetDimness, resetViewManager, revertToDefaultColorTable, revertToDefaultColorTable, revertToDefaultRange, revertToDefaultRange, saveAsFavorite, saveAsParameterDefaults, saveAsPrototype, saveAsTemplate, saveDataChoiceInCache, saveImage, saveProjection, selectDataChoices, setAnimationInfo, setAnimationSet, setAttributeFlags, setCachedData, setCanDoRemoveAll, setCategories, setCollapseLegend, setColor, setColorBrighter, setColorDimmer, setColorDimness, setColorScaleInfo, setColorScaleVisible, setColorTable, setColorTable, setColorTableName, setColorUnit, setColorUnitName, setComponentHolder, setContents, setContourInfo, setContourInfoParams, setData, setDataChoices, setDataInstance, setDataInstances, setDataSelection, setDataTimeRange, setDefaultSamplingMode, setDefaultView, setDisplayableVisibility, setDisplayableVisiblity, setDisplayActive, setDisplayAreaSubset, setDisplayCategory, setDisplayId, setDisplayInactive, setDisplayListColor, setDisplayListColor, setDisplayListProperties, setDisplayListTemplate, setDisplayListTimeZone, 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, 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, shouldApplyFastRendering, shouldBeDocked, shouldWindowBeVisible, show, showColorControlWidget, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, toFront, toggleNoteTextArea, toggleVisibilityForVectorGraphicsRendering, toggleWindow, toString, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, 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, setReceiveShareTimepublic StationLocationControl()
public void initAsPrototype()
initAsPrototype in interface PrototypableinitAsPrototype in class DisplayControlImplpublic boolean init(DataChoice dataChoice) throws visad.VisADException, java.rmi.RemoteException
init in class StationModelControldataChoice - the DataChoice of the moment -
not used yet by this implementation; can be null.visad.VisADException - there was a VisAD errorjava.rmi.RemoteException - there was a remote errorprotected boolean isChartEnabled()
isChartEnabled in class StationModelControlprotected java.util.List getCursorReadoutInner(visad.georef.EarthLocation el,
visad.Real animationValue,
int animationStep,
java.util.List<ReadoutInfo> samples)
throws java.lang.Exception
getCursorReadoutInner in class DisplayControlImplel - _more_animationValue - _more_animationStep - _more_samples - _more_java.lang.Exception - _more_public visad.georef.MapProjection getDataProjection()
getDataProjection in interface DisplayControlgetDataProjection in class StationModelControlpublic boolean hasMapProjection()
hasMapProjection in class DisplayControlImplpublic visad.georef.MapProjection getDataProjectionForMenu()
getDataProjectionForMenu in class DisplayControlImplpublic void reloadDataSource()
throws java.rmi.RemoteException,
visad.VisADException
reloadDataSource in class DisplayControlImpljava.rmi.RemoteException - On badnessvisad.VisADException - On badnessprotected java.lang.String getDataProjectionLabel()
getDataProjectionLabel in class StationModelControlprotected void resetData()
throws visad.VisADException,
java.rmi.RemoteException
resetData in class StationModelControljava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic void initDone()
initDone in class StationModelControlprotected void handleChangedStationModel(StationModel changedModel)
handleChangedStationModel in class StationModelControlchangedModel - The changed modelprotected StationModelDisplayable createStationModelDisplayable() throws visad.VisADException, java.rmi.RemoteException
StationModelDisplayable used for this instance.createStationModelDisplayable in class StationModelControlStationModelDisplayablevisad.VisADException - there was an error creating the Displayable.java.rmi.RemoteException - there was an error creating the Displayableprotected void initDisplayable(StationModelDisplayable myDisplay) throws visad.VisADException, java.rmi.RemoteException
initDisplayable in class StationModelControlmyDisplay - _more_java.rmi.RemoteException - _more_visad.VisADException - _more_protected boolean setData(DataChoice choice) throws visad.VisADException, java.rmi.RemoteException
setData in class StationModelControlchoice - DataChoicevisad.VisADException - there was an error creating/setting the data.java.rmi.RemoteException - there was an error creating/setting the data
for a remote object.DisplayControlImpl.setData(DataChoice)protected void loadDataInAWhile()
loadDataInAWhile in class StationModelControlprotected void handleMousePressed(visad.georef.EarthLocation el,
visad.DisplayEvent event)
handleMousePressed in class StationModelControlel - The locationevent - The eventprotected void selectedStationsChanged(java.util.List selectionList)
throws visad.VisADException,
java.rmi.RemoteException
selectionList - the listjava.rmi.RemoteException - On badnessvisad.VisADException - On badnessprotected void setSelectedStations(java.util.List<NamedStationImpl> stations) throws visad.VisADException, java.rmi.RemoteException
stations - the selected stationsjava.rmi.RemoteException - On badnessvisad.VisADException - On badnessprotected void setScaleOnDisplayable(float f)
throws java.rmi.RemoteException,
visad.VisADException
setScaleOnDisplayable in class StationModelControlf - the scalejava.rmi.RemoteException - On badnessvisad.VisADException - On badnessprotected javax.swing.JComponent getExtraLegendComponent(int legendType)
getExtraLegendComponent in class StationModelControllegendType - type of legendpublic void getLegendLabels(java.util.List labels,
int legendType)
getLegendLabels in class DisplayControlImpllabels - labels to add tolegendType - The type of legend, BOTTOM_LEGEND or SIDE_LEGENDpublic java.lang.String getMenuLabel()
getMenuLabel in interface DisplayControlgetMenuLabel in class DisplayControlImplprotected DataInstance doMakeDataInstance(DataChoice dataChoice) throws java.rmi.RemoteException, visad.VisADException
Creates and returns the DataInstance
corresponding to a DataChoice. Returns
null if the DataInstance was
somehow invalid.
This method is invoked by the overridable method setData(DataChoice).
doMakeDataInstance in class ObsDisplayControldataChoice - The DataChoice from
which to create a
DataInstance.visad.VisADException - if a VisAD Failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.protected java.util.List getFilterNames()
getFilterNames in class StationModelControlprotected java.lang.String getDetailsContents()
getDetailsContents in class DisplayControlImplpublic void loadData()
StationModelDisplayable.
Declutters the stations if necessary.loadData in class StationModelControlObsDisplayControl.doMakeDataInstance(DataChoice)protected void addSelectedToList(java.util.List listOfStations)
listOfStations - list to add toprotected java.lang.String getStationTableDescription()
protected java.util.List getStationList()
public StationModel getMyStationModel()
public void setStationTableName(java.lang.String value)
value - name of station table.public void setStationTableNames(java.util.List value)
value - The new value for StationTableNamespublic java.util.List getStationTableNames()
protected java.awt.Container doMakeContents()
throws visad.VisADException,
java.rmi.RemoteException
DisplayControl's UI.doMakeContents in class StationModelControljava.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD Errorprotected javax.swing.JTabbedPane doMakeTabs(boolean showDataSets,
boolean showFilters)
throws visad.VisADException,
java.rmi.RemoteException
showDataSets - show the datasets componentshowFilters - show the filters componentjava.rmi.RemoteException - On badnessvisad.VisADException - On badnessprotected javax.swing.JComponent doMakeDisplayPanel()
protected javax.swing.JComponent doMakeStationListPanel()
public void buttonPressed(int index)
index - which oneprotected void getSaveMenuItems(java.util.List items,
boolean forMenuBar)
getSaveMenuItems in class StationModelControlitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legendprotected void getViewMenuItems(java.util.List items,
boolean forMenuBar)
getViewMenuItems in class StationModelControlitems - _more_forMenuBar - _more_public void showFlythrough()
throws java.lang.Exception
java.lang.Exception - _more_public void exportLocations()
protected void getEditMenuItems(java.util.List items,
boolean forMenuBar)
getEditMenuItems in class StationModelControlitems - List of menu itemsforMenuBar - Is this for the menu in the window's menu bar or
for a popup menu in the legendprotected void makeStationModelEditMenuItems(java.util.List items,
boolean forMenuBar)
makeStationModelEditMenuItems in class StationModelControlitems - list of menu itemsforMenuBar - true if for the menu barpublic void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class DisplayControlImplae - action event to checkpublic void setSymbolType(int value)
value - symbol type (e.g. StationLocationDisplayable.SYMBOL_PLUS)public int getSymbolType()
public void setIdType(int value)
value - id type (e.g. StationLocationDisplayable.ID_ID)public int getIdType()
public void setShowSymbol(boolean value)
value - true to show the symbol.public boolean getShowSymbol()
public void setShowId(boolean value)
value - true to show the id.public boolean getShowId()
public void setEnabled(boolean value)
value - The new value for Enabledpublic boolean getEnabled()
public void setCenterOnClick(boolean value)
value - The new value for Centerpublic boolean getCenterOnClick()
public void setUseStationModel(boolean value)
value - The new value for UseStationModelpublic boolean getUseStationModel()
public void setOnlyShowFiltered(boolean value)
setOnlyShowFiltered in class StationModelControlvalue - The new value for OnlyShowFilteredpublic void setDeclutter(boolean v)
setDeclutter in class StationModelControlv - new valuepublic void setDetailsInLegend(boolean value)
value - The new value for DetailsInLegendpublic boolean getDetailsInLegend()