Package ucar.unidata.idv.control
Class TrackControl
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.GridDisplayControl
ucar.unidata.idv.control.TrackControl
- All Implemented Interfaces:
ActionListener,ItemListener,PropertyChangeListener,EventListener,HyperlinkListener,Sharable,DataChangeListener,DisplayControl,Prototypable,ControlListener,DisplayListener
- Direct Known Subclasses:
GridTrajectoryControl.MyTrackControl
A MetApps Display Control with Displayable and controls for
displaying a track (balloon sounding or aircraft track)
- Version:
- $Revision: 1.69 $
- Author:
- Unidata Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl
DisplayControlImpl.SideLegendLabel -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StationModelDisplayableselector pointprotected LayoutModelWidgetthe widget for the layout modelprotected static final String[]Time stringsprotected DisplayableDatathe displayable that holdss the timesFields inherited from class ucar.unidata.idv.control.GridDisplayControl
CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevelFields inherited from class ucar.unidata.idv.control.DisplayControlImpl
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, version, viewManagers, ZFUDGEFields inherited from class ucar.unidata.idv.control.DisplayControlBase
APPEARANCE_DARK, APPEARANCE_IDV, APPEARANCE_LIGHT, 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, 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_AVERAGEFields inherited from interface ucar.unidata.idv.DisplayControl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdd display settings paricular to this controlprotected voidaddTimeModeWidget(List controlWidgets) the control widgets to add tovoidHandle some sort of time change.protected ContainerMake the guiprotected ComponentMake the time option widgetvoidPopup the station model editorbooleanGet the AskedUserToDeclutterTime property.protected intReturns the index to use in the GridDataInstance array of ranges for color ranges.Return the label that is to be used for the color widget This allows derived classes to override this and provide their own name,voidgetControlWidgets(List controlWidgets) Add control widgets specific to this control to the listprotected SetCollect the time animation set from the displayables.Get the display centerintGet the line width property.Get the current layout model view.floatGet the scale the user can enterbooleanGet whether the marker is visibleprotected HashtableOverride the base class method that creates request properties and add in the appropriate 2d/3d request parameter.protected JComponent[]Make the gui panel for the time declutteringbooleanGet the TimeDeclutterEnabled property.doubleGet the TimeDeclutterMinutes property.Get the track type for this control.protected intGet the track width property.protected FieldImpl_more_booleanGet the useTrackTime property.protected voidgetViewMenuItems(List items, boolean forMenuBar) Add in the flythrough menuprotected booleanReturn whether the Data held by this display control contains multiple fields (e.g., for the isosurface colored by another parameterbooleaninit(DataChoice dataChoice) Call to help make this kind of Display Control; also calls code to made the Displayable (empty of data thus far).voidinitAfterUnPersistence(ControlContext vc, Hashtable properties, List preSelectedDataChoices) Called by theIntegratedDataViewerto initialize after this control has been unpersistedprotected JPanelMake the gui widget for setting the layout modelprotected FieldImplmerge tracks into onevoidreceiveShareData(Sharable from, Object dataId, Object[] data) Method called by other classes that share the selector.voidsetAskedUserToDeclutterTime(boolean value) Set the AskedUserToDeclutterTime property.protected booleansetData(DataChoice choice) Set the data in this controlprotected voidsetDataInstance(DataInstance dataInstance) Set the dataInstance and its paramName in the superclass member data.voidsetDataTimeRange(DataTimeRange range) Set the DataTimeRangevoidsetLineWidth(int width) Set the track width property.voidsetMarkerLayout(StationModel model) Set the current station model view.voidsetMarkerScale(float f) Set the scale the user can entervoidsetMarkerSymbol(String value) Set the MarkerSymbol property.voidsetMarkerText(String value) Set the MarkerText property.voidsetMarkerVisible(boolean value) Set the marker visiblevoidset the station modelvoidsetTimeDeclutterEnabled(boolean value) Set the TimeDeclutterEnabled property.voidsetTimeDeclutterMinutes(double value) Set the TimeDeclutterMinutes property.voidsetTimeSubsetEnabled(boolean value) Set the TimeSubsetEnabled property.voidsetTimeSubsetMinutes(double value) Set the TimeSubsetMinutes property.protected voidSet the times on the trackvoidsetTrackType(String type) Set the track type for this control.voidsetTrackWidth(int width) Set the track width property.voidsetUseTrackTime(boolean value) Set the useTrackTime property.voidsetUseTrackTimes(boolean value) Set the useTrackTimes property.voidShow the flythroughprotected voidtimeChanged(Real time) Respond to a timeChange eventprotected voidHandle when the time declutering state has changedprotected voidUpdate the indicator with new shapesprotected voidUpdate the select range for the widget with the data's rangeMethods inherited from class ucar.unidata.idv.control.GridDisplayControl
actionPerformed, addTopographyMap, addTopographyMap, applyForecastHourMacro, canDoProgressiveResolution, convertColorRange, doExport, doMakeContourLevelControl, doMakeDataInstance, doMakeLevelControl, doMakeLevelControl, exportDisplayedData, getColorParamName, getColorRangeFromData, getColorUnit, getContourInfo, getCursorReadoutData, getCursorReadoutInner, getDataProjection, getDataRangeInColorUnits, getDefaultContourInfo, getDisplayUnit, getGridDataInstance, getInitialColorTable, getInitialRange, getRawDataUnit, initializeDefaultContourInfo, isDisplayUnitAlsoColorUnit, normalizeRectangle, setLevel, setLevel, setLevelFromUser, shouldAddControlListener, shouldAddDisplayListenerMethods inherited from class ucar.unidata.idv.control.DisplayControlImpl
activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addLabelMacros, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addToControlContext, addToRangeMenu, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyLineWidth, applyPreferences, 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, dataChanged, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, displayUnitChanged, doApplyProperties, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeSmoothingWidget, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, doRemove, 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, getColorUnitName, getComponentHolder, getContents, getControlChangeSleepTime, getControlContext, getControlMenus, getCursorReadout, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjectionForMenu, getDataProjectionLabel, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayConventions, getDisplayedData, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, getEditMenuItems, getEditMenuItems, getExpandedInTabs, getExtraLabelTemplate, getExtraLegendComponent, getExtraMenus, getFileMenuItems, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getImage, getInitDataChoices, getInitialFastRendering, getInitialZPosition, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsRaster, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, getLegendLabels, getLegendLabelTemplate, getLegendToolTip, 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, 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, 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, initAsPrototype, initAsTemplate, initBasic, initDone, initializeWithNewData, initWindow, isDisplay3D, isGuiShown, isInitDone, isInTransectView, isInViewManager, itemStateChanged, loadDataFromViewBounds, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, projectionChanged, propertyChange, putTransientProperty, reallySetAttributeFlags, redoGuiLayout, reloadDataSource, reloadDataSourceInThread, relocateDisplay, relocateDisplay, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, resetData, 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, setDataInstances, setDataSelection, 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, 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, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, viewpointChanged, writeTestArchive, xxxsetDisplayActive, zSliderChangedMethods inherited from class ucar.unidata.idv.control.DisplayControlBase
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, userMessageMethods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ucar.unidata.idv.DisplayControl
getTmpProperty, putTmpProperty, removeTmpPropertyMethods inherited from interface ucar.unidata.collab.Sharable
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime
-
Field Details
-
layoutModelWidget
the widget for the layout model -
indicator
selector point -
timesHolder
the displayable that holdss the times -
TIMES_TO_USE
Time strings
-
-
Constructor Details
-
TrackControl
public TrackControl()Create a new Track Control; set the attribute flags
-
-
Method Details
-
getViewMenuItems
Add in the flythrough menu- Overrides:
getViewMenuItemsin classDisplayControlImpl- Parameters:
items- the menu itemsforMenuBar- true for the menu bar
-
showFlythrough
Show the flythrough- Throws:
Exception- problem showing the flythrough
-
init
Call to help make this kind of Display Control; also calls code to made the Displayable (empty of data thus far). This method is called from inside DisplayControlImpl.init(several args).- Overrides:
initin classDisplayControlImpl- Parameters:
dataChoice- the DataChoice of the moment.- Returns:
- true if successful
- Throws:
RemoteException- Java RMI errorVisADException- VisAD Error
-
updateIndicator
protected void updateIndicator()Update the indicator with new shapes -
getColorWidgetLabel
Return the label that is to be used for the color widget This allows derived classes to override this and provide their own name,- Overrides:
getColorWidgetLabelin classDisplayControlImpl- Returns:
- Label used for the color widget
-
setDataInstance
Set the dataInstance and its paramName in the superclass member data. Set the dataInstance in this class member getGridDataInstance(). Get appropritate contour information for the data.- Overrides:
setDataInstancein classDisplayControlImpl- Parameters:
dataInstance- the data instance to use
-
getDisplayCenter
Get the display center- Overrides:
getDisplayCenterin classDisplayControlImpl- Returns:
- the center point of the display
- Throws:
RemoteException- Java RMI errorVisADException- VisAD Error
-
timeChanged
Respond to a timeChange event- Overrides:
timeChangedin classDisplayControlImpl- Parameters:
time- new time
-
setData
Set the data in this control- Overrides:
setDatain classDisplayControlImpl- Parameters:
choice- data choice- Returns:
- true if successful
- Throws:
RemoteException- Java RMI errorVisADException- VisAD Error
-
mergeGrid
merge tracks into one- Parameters:
fi- input fieldimpl contains one or more tracks- Returns:
- one track fieldimpl
- Throws:
RemoteException- _more_VisADException- _more_
-
setTrackTimes
Set the times on the track- Throws:
RemoteException- Java RMI problemVisADException- VisAD problem
-
doMakeContents
Make the gui- Overrides:
doMakeContentsin classDisplayControlImpl- Returns:
- The gui
- Throws:
RemoteException- On BadnessVisADException- On Badness
-
timeDeclutterChanged
protected void timeDeclutterChanged()Handle when the time declutering state has changed -
getTimeDeclutterComps
Make the gui panel for the time decluttering- Returns:
- The time declutter panel
-
getControlWidgets
Add control widgets specific to this control to the list- Overrides:
getControlWidgetsin classDisplayControlImpl- Parameters:
controlWidgets- list of control widgets- Throws:
RemoteException- Java RMI errorVisADException- VisAD Error
-
addTimeModeWidget
the control widgets to add to- Overrides:
addTimeModeWidgetin classDisplayControlImpl- Parameters:
controlWidgets- the control widgets to add to
-
doMakeTimeOptionWidget
Make the time option widget- Returns:
- the time option widget
-
getTrjGridDataInstance
_more_- Returns:
- _more_
-
initAfterUnPersistence
public void initAfterUnPersistence(ControlContext vc, Hashtable properties, List preSelectedDataChoices) Called by theIntegratedDataViewerto initialize after this control has been unpersisted- Specified by:
initAfterUnPersistencein interfaceDisplayControl- Overrides:
initAfterUnPersistencein classDisplayControlImpl- Parameters:
vc- The context in which this control existsproperties- Properties that may hold thingspreSelectedDataChoices- set of preselected data choices
-
addDisplaySettings
Add display settings paricular to this control- Overrides:
addDisplaySettingsin classDisplayControlImpl- Parameters:
dsd- the DisplaySettingsDialog
-
setDataTimeRange
Set the DataTimeRange- Overrides:
setDataTimeRangein classDisplayControlImpl- Parameters:
range- the DataTimeRange
-
applyTimeRange
public void applyTimeRange()Handle some sort of time change. Either the subsetting interval changes or there is a new timestep.- Overrides:
applyTimeRangein classDisplayControlImpl
-
getRequestProperties
Override the base class method that creates request properties and add in the appropriate 2d/3d request parameter.- Overrides:
getRequestPropertiesin classDisplayControlImpl- Returns:
- table of properties
-
updateTimeSelectRange
protected void updateTimeSelectRange()Update the select range for the widget with the data's range -
haveMultipleFields
protected boolean haveMultipleFields()Return whether the Data held by this display control contains multiple fields (e.g., for the isosurface colored by another parameter- Overrides:
haveMultipleFieldsin classGridDisplayControl- Returns:
- true if there are multiple fields
-
getColorRangeIndex
protected int getColorRangeIndex()Returns the index to use in the GridDataInstance array of ranges for color ranges. The default is 1 though if there is not more than one field in the range then we end up with the 0th value.- Overrides:
getColorRangeIndexin classGridDisplayControl- Returns:
- 0
-
setTrackWidth
public void setTrackWidth(int width) Set the track width property. Used by persistence- Parameters:
width- width for track (pixels) deprecated use #setLineWidth(int)
-
setLineWidth
public void setLineWidth(int width) Set the track width property. Used by persistence- Overrides:
setLineWidthin classDisplayControlImpl- Parameters:
width- width for track (pixels) deprecated use #setLineWidth(int)
-
getLineWidth
public int getLineWidth()Get the line width property.- Overrides:
getLineWidthin classDisplayControlImpl- Returns:
- The line width
-
getDataTimeSet
Collect the time animation set from the displayables. If none found then return null.- Overrides:
getDataTimeSetin classDisplayControlImpl- Returns:
- Animation set
- Throws:
RemoteException- On badnessVisADException- On badness
-
getTrackWidth
protected int getTrackWidth()Get the track width property. Used by persistence- Returns:
- width
-
setTrackType
Set the track type for this control. Used by persistence- Parameters:
type- track type
-
getTrackType
Get the track type for this control. Used by persistence- Returns:
- the track type
-
setTimeSubsetMinutes
public void setTimeSubsetMinutes(double value) Set the TimeSubsetMinutes property.- Parameters:
value- The new value for TimeSubsetMinutes deprecated
-
setTimeSubsetEnabled
public void setTimeSubsetEnabled(boolean value) Set the TimeSubsetEnabled property. deprecated- Parameters:
value- The new value for TimeSubsetEnabled
-
setUseTrackTime
public void setUseTrackTime(boolean value) Set the useTrackTime property.- Parameters:
value- The new value for useTrackTime deprecated
-
setUseTrackTimes
public void setUseTrackTimes(boolean value) Set the useTrackTimes property.- Parameters:
value- The new value for useTrackTime deprecated
-
getUseTrackTimes
public boolean getUseTrackTimes()Get the useTrackTime property.- Returns:
- The new value for useTrackTime deprecated
-
setTimeDeclutterMinutes
public void setTimeDeclutterMinutes(double value) Set the TimeDeclutterMinutes property.- Parameters:
value- The new value for TimeDeclutterMinutes
-
getTimeDeclutterMinutes
public double getTimeDeclutterMinutes()Get the TimeDeclutterMinutes property.- Returns:
- The TimeDeclutterMinutes
-
setTimeDeclutterEnabled
public void setTimeDeclutterEnabled(boolean value) Set the TimeDeclutterEnabled property.- Parameters:
value- The new value for TimeDeclutterEnabled
-
getTimeDeclutterEnabled
public boolean getTimeDeclutterEnabled()Get the TimeDeclutterEnabled property.- Returns:
- The TimeDeclutterEnabled
-
setAskedUserToDeclutterTime
public void setAskedUserToDeclutterTime(boolean value) Set the AskedUserToDeclutterTime property.- Parameters:
value- The new value for AskedUserToDeclutterTime
-
getAskedUserToDeclutterTime
public boolean getAskedUserToDeclutterTime()Get the AskedUserToDeclutterTime property.- Returns:
- The AskedUserToDeclutterTime
-
setMarkerText
Set the MarkerText property.- Parameters:
value- The new value for MarkerText deprecated now use #setMarkerLayout(StationModel)
-
setMarkerSymbol
Set the MarkerSymbol property.- Parameters:
value- The new value for MarkerSymbol deprecated now use #setMarkerLayout(StationModel)
-
setMarkerLayout
Set the current station model view.- Parameters:
model- station model layout
-
getMarkerLayout
Get the current layout model view.- Returns:
- station model layout
-
getMarkerScale
public float getMarkerScale()Get the scale the user can enter- Returns:
- The scale
-
setMarkerScale
public void setMarkerScale(float f) Set the scale the user can enter- Parameters:
f- The scale
-
editLayoutModel
public void editLayoutModel()Popup the station model editor -
setMarkerVisible
public void setMarkerVisible(boolean value) Set the marker visible- Parameters:
value- true to be visible
-
getMarkerVisible
public boolean getMarkerVisible()Get whether the marker is visible- Returns:
- true if visible
-
setStationModelFromWidget
set the station model- Parameters:
sm- the station model
-
makeLayoutModelWidget
Make the gui widget for setting the layout model- Returns:
- the widget
-