Package edu.wisc.ssec.mcidasv.control
Class Grid2DReadoutProbe
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.GridDisplayControl
edu.wisc.ssec.mcidasv.control.Grid2DReadoutProbe
- All Implemented Interfaces:
ActionListener
,ItemListener
,PropertyChangeListener
,EventListener
,HyperlinkListener
,Sharable
,DataChangeListener
,DisplayControl
,Prototypable
,ControlListener
,DisplayListener
An abstract base class that manages a vertical probe
To create a probe call doMakeProbe
To be notified of changes override:
void probePositionChanged (double x, double y);
- Version:
- $Revision$Date: 2011/03/24 16:06:32 $
- Author:
- IDV development team
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl
DisplayControlImpl.SideLegendLabel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Color
private RealTuple
private RealTupleType
private FlatField
private RealTuple
the initial positionprivate boolean
private Tuple
private String
The shape for the probe pointprivate DisplayMaster
private DecimalFormat
private float
The point sizeprivate DataReference
protected String
Keep around for the label macrosprotected PointProbe
the line probestatic final String
profile sharing propertyprivate static final TupleType
private TextDisplayable
Fields inherited from class ucar.unidata.idv.control.GridDisplayControl
CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevel
Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayables, displayId, displayListTable, displayListTemplate, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, isProgressiveResolution, matchDisplayRegion, noteTextArea, noteWrapper, paramName, reloadFromBounds, requestProperties, resolutionReadout, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, skipTextField, SLIDER_DEFAULT_MAJOR_TICK, SLIDER_DEFAULT_MAX, SLIDER_DEFAULT_MIN, SLIDER_DEFAULT_MINOR_TICK, SLIDER_DEFAULT_SKIP, version, viewManagers, ZFUDGE
Fields 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_AVERAGE
Fields 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
ConstructorsConstructorDescriptionGrid2DReadoutProbe
(FlatField grid2d, DisplayMaster master) Default Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addLabelMacros
(String template, List patterns, List values) Add any macro name/value pairs.static RealTupleType
check2DEarthTuple
(FlatField field) private static TextDisplayable
createValueDisplayer
(Color color) void
Decrease the probe sizevoid
Default doMakeProbe method.void
doMakeProbe
(Color c) Make the probe with the specificColor
.void
doMakeProbe
(Color probeColor, DisplayMaster master) Make the probe with the specificColor
and associate it with the givenDisplayMaster
.void
doMakeProbe
(ViewDescriptor view) Make the probe with the specificViewDescriptor
.doMakeProbeMenu
(JMenu probeMenu) Make a menu for controlling the probe size, shape and position.protected void
Method called when probe is moved.protected void
getEditMenuItems
(List items, boolean forMenuBar) Get edit menu itemsGet initial XY position from grid data.Get initial XY position from the screenGet the initial position of the probe set during unpersistence.void
getLegendLabels
(List labels, int legendType) Append any label information to the list of labels.protected void
getMacroNames
(List names, List labels) Add any macro name/label pairsGet the Marker property.A helper method for finding theNavigatedDisplay
of this control'sMapViewManager
.float
Get the PointSize property.Get the position of the probe.void
Increase the probe sizeprivate static TupleType
protected void
probePositionChanged
(RealTuple newPos) This gets called when either the user moves the probe point or when we get a sharable event to move the probe point.void
Respond to a change in the display's projection.void
Handle changesvoid
receiveShareData
(Sharable from, Object dataId, Object[] data) Method called when sharing is enabled.void
Reset the position of the probe to the center.void
Set the Marker property.void
setPointSize
(float value) Set the PointSize property.void
Set the initial position of the probe.void
setProbePosition
(double x, double y) Set the probe position from display x and y positions.void
Set the probe position.protected void
This method is called to update the legend labels when some state has changed in this control that is reflected in the labels.private void
protected void
updatePosition
(RealTuple position) Methods inherited from class ucar.unidata.idv.control.GridDisplayControl
actionPerformed, addTopographyMap, addTopographyMap, applyForecastHourMacro, canDoProgressiveResolution, convertColorRange, doExport, doMakeContourLevelControl, doMakeDataInstance, doMakeLevelControl, doMakeLevelControl, exportDisplayedData, getColorParamName, getColorRangeFromData, getColorRangeIndex, getColorUnit, getContourInfo, getCursorReadoutData, getCursorReadoutInner, getDataProjection, getDataRangeInColorUnits, getDefaultContourInfo, getDisplayUnit, getGridDataInstance, getInitialColorTable, getInitialRange, getRawDataUnit, haveMultipleFields, initializeDefaultContourInfo, isDisplayUnitAlsoColorUnit, normalizeRectangle, setLevel, setLevel, setLevelFromUser, shouldAddControlListener, shouldAddDisplayListener
Methods inherited from class ucar.unidata.idv.control.DisplayControlImpl
activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addDisplaySettings, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applySkipFactor, applySmoothing, applyTextureQuality, applyTimeRange, applyZPosition, boundsClose, canBeDocked, canDataDoProgressiveResolution, canExportData, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkFlag, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, clipDisplayedRange, close, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, dataChanged, dataSelectionAdaptiveResolution, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, displayUnitChanged, doApplyProperties, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeContents, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeSkipFactorSlider, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, doMakeZPositionSlider, doRemove, doRemoveWithPrompt, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, firstFrameDone, forceUpdateList, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorScaleInfo, getColorTable, getColorTableForDisplayable, getColorTableToApply, getColorTableWidget, getColorUnitName, getColorWidgetLabel, getComponentHolder, getContents, getControlChangeSleepTime, getControlContext, getControlMenus, getControlWidgets, getCursorReadout, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjectionForMenu, getDataProjectionLabel, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDisplayListTemplateJPSS, getDefaultDisplayListTemplatePoint, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayedData, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, 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, getLegendLabelTemplate, getLegendToolTip, getLineWidth, getLineWidthWidget, getLineWidthWidgetLabel, getLockVisibilityToggle, getLongParamName, getMainPanel, getMainPanelSize, getMakeWindow, getMapDisplay, getMapViewManager, getMapViewProjection, getMatchDisplayRegion, getMenuLabel, getMyDataChoices, getNoteText, getObjectStore, getOkToFireEvents, getOldColorTableOrInitialColorTable, getOriginalDataChoicesLabel, getOuterContents, getProperty, getProperty, getPropertyDisplayName, getRange, getRangeForColorTable, getRangeToApply, 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, init, initAfterUnPersistence, initAfterUnPersistence, initAsPrototype, initAsTemplate, initBasic, initDone, initializeWithNewData, initWindow, isDisplay3D, isGuiShown, isInitDone, isInTransectView, isInViewManager, isRectBad, itemStateChanged, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeMiscButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, 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, 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, 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, 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, updateLockButton, updateMiscButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, viewpointChanged, writeTestArchive, xxxsetDisplayActive, zSliderChanged
Methods 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, userMessage
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ucar.unidata.idv.DisplayControl
getTmpProperty, putTmpProperty, removeTmpProperty
Methods inherited from interface ucar.unidata.collab.Sharable
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime
-
Field Details
-
SHARE_PROFILE
profile sharing property- See Also:
-
probe
the line probe -
initPosition
the initial position -
marker
The shape for the probe point -
pointSize
The point size -
positionText
Keep around for the label macros -
TUPTYPE
-
positionRef
-
currentColor
-
currentPosition
-
locationValue
-
valueDisplay
-
image
-
earthTupleType
-
isLonLat
-
master
-
numFmt
-
-
Constructor Details
-
Grid2DReadoutProbe
public Grid2DReadoutProbe(FlatField grid2d, DisplayMaster master) throws VisADException, RemoteException Default Constructor.- Throws:
VisADException
RemoteException
-
-
Method Details
-
doMakeProbe
Default doMakeProbe method.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
doMakeProbe
Make the probe with the specificColor
.- Parameters:
c
- color for probe.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
doMakeProbe
Make the probe with the specificViewDescriptor
.- Parameters:
view
- view descriptor- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
doMakeProbe
public void doMakeProbe(Color probeColor, DisplayMaster master) throws VisADException, RemoteException Make the probe with the specificColor
and associate it with the givenDisplayMaster
.- Parameters:
probeColor
- Color of the probe.master
-DisplayMaster
of the display we will be probing.- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
propertyChange
Handle changes- Specified by:
propertyChange
in interfacePropertyChangeListener
- Overrides:
propertyChange
in classDisplayControlImpl
- Parameters:
evt
- The event
-
resetProbePosition
Reset the position of the probe to the center. -
getEditMenuItems
Get edit menu items- Overrides:
getEditMenuItems
in classDisplayControlImpl
- Parameters:
items
- list of menu itemsforMenuBar
- true if for the menu bar
-
setProbePosition
Set the probe position. Probes are set in XY space.- Parameters:
xy
- X and Y position of the probe.- Throws:
VisADException
- problem setting probe positionRemoteException
- problem setting probe position on remote display
-
setProbePosition
Set the probe position from display x and y positions.- Parameters:
x
- X position of the probe.y
- Y position of the probe.- Throws:
VisADException
- problem setting probe positionRemoteException
- problem setting probe position on remote display
-
setPosition
Set the initial position of the probe. This is used by the XML persistense.- Parameters:
p
- position
-
getPosition
Get the position of the probe. This is used by the XML persistense.- Returns:
- current probe position or null if probe has not been created.
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
getInitialPosition
Get the initial position of the probe set during unpersistence.- Returns:
- initial position or
null
if not set during initialization.
-
doMoveProbe
Method called when probe is moved. -
probePositionChanged
This gets called when either the user moves the probe point or when we get a sharable event to move the probe point. Subclasses need to implement this.- Parameters:
newPos
- New position for the probe.
-
updatePosition
-
updateLocationValue
-
check2DEarthTuple
-
createValueDisplayer
private static TextDisplayable createValueDisplayer(Color color) throws VisADException, RemoteException - Throws:
VisADException
RemoteException
-
makeTupleType
-
projectionChanged
Respond to a change in the display's projection. In this case we fire the probePositionChanged() method with the probe's position.- Specified by:
projectionChanged
in interfaceDisplayControl
- Overrides:
projectionChanged
in classDisplayControlImpl
-
doMakeProbeMenu
Make a menu for controlling the probe size, shape and position.- Parameters:
probeMenu
- The menu to add to- Returns:
- The menu
-
increaseProbeSize
Increase the probe size -
decreaseProbeSize
Decrease the probe size -
setPointSize
Set the PointSize property.- Overrides:
setPointSize
in classDisplayControlImpl
- Parameters:
value
- The new value for PointSize
-
getPointSize
Get the PointSize property.- Overrides:
getPointSize
in classDisplayControlImpl
- Returns:
- The PointSize
-
getGridCenterPosition
Get initial XY position from grid data.- Returns:
- initial XY position of grid center point in VisAD space
- Throws:
RemoteException
- Java RMI problemVisADException
- VisAD problem
-
getInitialLinePosition
Get initial XY position from the screen- Returns:
- initial XY position in VisAD space
- Throws:
RemoteException
- Java RMI problemVisADException
- VisAD problem
-
setMarker
Set the Marker property.- Parameters:
value
- The new value for Marker
-
getMarker
Get the Marker property.- Returns:
- The Marker
-
getMacroNames
Add any macro name/label pairs- Overrides:
getMacroNames
in classDisplayControlImpl
- Parameters:
names
- List of macro nameslabels
- List of macro labels
-
addLabelMacros
Add any macro name/value pairs.- Overrides:
addLabelMacros
in classDisplayControlImpl
- Parameters:
template
- templatepatterns
- The macro namesvalues
- The macro values
-
updateLegendLabel
This method is called to update the legend labels when some state has changed in this control that is reflected in the labels.- Overrides:
updateLegendLabel
in classDisplayControlImpl
-
getLegendLabels
Append any label information to the list of labels.- Overrides:
getLegendLabels
in classDisplayControlImpl
- Parameters:
labels
- in/out list of labelslegendType
- The type of legend, BOTTOM_LEGEND or SIDE_LEGEND
-