Package ucar.unidata.idv.control
Class VolumeVectorControl
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.VolumeVectorControl
- All Implemented Interfaces:
ActionListener
,ItemListener
,PropertyChangeListener
,EventListener
,HyperlinkListener
,Sharable
,DataChangeListener
,FlowDisplayControl
,DisplayControl
,Prototypable
,ControlListener
,DisplayListener
Created by yuanho on 4/5/15.
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl
DisplayControlImpl.SideLegendLabel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
current levelprotected DataChoice
data choice for the dataprotected final float
a scale factorFields 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, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, isProgressiveResolution, matchDisplayRegion, noteTextArea, noteWrapper, paramName, reloadFromBounds, requestProperties, resolutionReadout, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, 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
Fields inherited from interface ucar.unidata.idv.control.FlowDisplayControl
SHARE_FLOWRANGE, SHARE_FLOWSCALE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Use the value of the skip factor to subset the data.static float[]
AxB
(float[] A, float[] B) _more_protected DisplayableData
_more_protected Container
Make the gui.protected Object[]
formatLevels
(Object[] levels) _more_boolean
_more_boolean
_more_float
_more_boolean
_more_protected String
_more_protected int
_more__more_void
getControlWidgets
(List controlWidgets) Add in any special control widgets to the current list of widgets._more__more_Get the flow range.float
Get the flow scale.protected Range
_more_boolean
Is this a raster displayboolean
_more_boolean
_more_boolean
_more_int
_more__more_int
_more_int
_more_int
_more__more_float
_more_int
_more_int
_more__more_float
_more_int
_more_boolean
_more_protected boolean
_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
initAfterUnPersistence
(ControlContext vc, Hashtable properties) _more_void
Method to call if projection changes.void
setArrowHead
(boolean arrow) _more_void
setArrowHeadL
(boolean arrow) _more_void
setArrowHeadSize
(float f) _more_void
setColoredByAnother
(boolean yesno) _more_void
setCurrentLevel
(Object object) _more_protected boolean
setData
(DataChoice choice) Set the data in this control.void
setFlowColorRange
(Range colorRange) _more_void
Set the flow range.void
setFlowScale
(float f) Set the flow scale.void
setIsStreamline
(boolean isStreamLine) _more_void
setIsTrajectories
(boolean isTrajectories) _more_void
_more_void
setLineWidth
(int width) _more_void
setPointSize
(float value) _more_void
setSkipValueZ
(int value) Set the skip value, if it is vector display we reload the sampled data, otherwise, it is trajectory, skip only apply to the display not datavoid
setSmoothFactor
(int f) _more_float[][]
setStartPointsFromDomain2D
(int trajForm, int skip, float[][] setLocs, int lenX, int lenY, int level, float[][] flowValues, float ribbonWidthFac) _more_void
setStreamLEndLevel
(int endLevel) _more_void
setStreamLEndLevel
(Object endLevel, int idx) _more_void
setStreamLFormType
(Integer streamLForm) _more_void
setStreamline
(boolean v) _more_void
_more_void
setStreamLOffset
(float f) _more_void
setStreamLStartLevel
(int startLevel) _more_void
setStreamLStartLevel
(Object startLevel, int idx) _more_void
setTrajectories
(boolean v) _more_void
setTrajEndLevel
(int endLevel) _more_void
setTrajEndLevel
(Object endLevel, int idx) _more_void
setTrajFormType
(Integer trajForm) _more_void
setTrajOffset
(float f) _more_void
setTrajStartLevel
(int startLevel) _more_void
setTrajStartLevel
(Object startLevel, int idx) _more_void
setUseSpeedForColor
(boolean yesno) _more_void
setVectors
(boolean v) _more_boolean
_more_Methods inherited from class ucar.unidata.idv.control.GridDisplayControl
actionPerformed, addTopographyMap, addTopographyMap, applyForecastHourMacro, canDoProgressiveResolution, convertColorRange, doExport, doMakeContourLevelControl, doMakeDataInstance, doMakeLevelControl, doMakeLevelControl, exportDisplayedData, getColorRangeFromData, getColorUnit, getContourInfo, getCursorReadoutData, getCursorReadoutInner, getDataProjection, getDataRangeInColorUnits, getDefaultContourInfo, getDisplayUnit, getGridDataInstance, getInitialColorTable, getRawDataUnit, 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, addLabelMacros, 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, applySmoothing, applyTextureQuality, applyTimeRange, 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, 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, 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, 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, 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, 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, propertyChange, putTransientProperty, reallySetAttributeFlags, receiveShareData, 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, 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, setLockVisibilityToggle, setMainPanelDimensions, setMainPanelSize, setMakeWindow, setMatchDisplayRegion, setName, setNameFromUser, setNewColorUnit, setNewDisplayUnit, setNoteText, setOkToFireEvents, setOriginalDataChoicesLabel, setParamName, setPersistedVisadData, 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, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, timeChanged, toFront, toggleNoteTextArea, toggleVisibilityForVectorGraphicsRendering, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, 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, 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
-
datachoice
data choice for the data -
scaleFactor
protected final float scaleFactora scale factor- See Also:
-
currentLevel
current level
-
-
Constructor Details
-
VolumeVectorControl
public VolumeVectorControl()Default constructor; does nothing.
-
-
Method Details
-
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:
init
in classDisplayControlImpl
- Parameters:
dataChoice
- the DataChoice of the moment.- Returns:
- true if successful
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD ErrorRemoteException
- _more_VisADException
- _more_
-
createPlanDisplay
_more_- Returns:
- _more_
- Throws:
RemoteException
- _more_VisADException
- _more_
-
getControlWidgets
Add in any special control widgets to the current list of widgets.- Overrides:
getControlWidgets
in classDisplayControlImpl
- Parameters:
controlWidgets
- list of control widgets- Throws:
VisADException
- VisAD errorRemoteException
- RMI error
-
getSmoothFactor
public int getSmoothFactor()_more_- Returns:
- _more_
-
setSmoothFactor
public void setSmoothFactor(int f) _more_- Parameters:
f
- _more_
-
getIsThreeComponents
public boolean getIsThreeComponents()_more_- Returns:
- _more_
-
setStreamlines
public void setStreamlines()_more_ -
setArrowHeadSize
public void setArrowHeadSize(float f) _more_- Parameters:
f
- _more_
-
getArrowHeadSize
public float getArrowHeadSize()_more_- Returns:
- _more_
-
setPointSize
public void setPointSize(float value) _more_- Overrides:
setPointSize
in classDisplayControlImpl
- Parameters:
value
- _more_
-
applySkipFactor
protected void applySkipFactor()Use the value of the skip factor to subset the data.- Overrides:
applySkipFactor
in classDisplayControlImpl
-
setData
Set the data in this control.- Overrides:
setData
in classDisplayControlImpl
- Parameters:
choice
- data description- Returns:
- true if successful
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
setLevels
_more_- Parameters:
levels
- _more_
-
formatLevels
_more_- Overrides:
formatLevels
in classDisplayControlBase
- Parameters:
levels
- _more_- Returns:
- _more_
-
setArrowHead
public void setArrowHead(boolean arrow) _more_- Parameters:
arrow
- _more_
-
getArrowHead
public boolean getArrowHead()_more_- Returns:
- _more_
-
setArrowHeadL
public void setArrowHeadL(boolean arrow) _more_- Parameters:
arrow
- _more_
-
getArrowHeadL
public boolean getArrowHeadL()_more_- Returns:
- _more_
-
setFlowColorRange
_more_- Parameters:
colorRange
- _more_
-
getFlowColorRange
_more_- Returns:
- _more_
-
getFlowRange
Get the flow range. Used by XML persistence- Returns:
- the flow range for this control
-
setFlowRange
Set the flow range. Used by XML persistence- Parameters:
f
- new flow range
-
doMakeContents
Make the gui. Align it left- Overrides:
doMakeContents
in classDisplayControlImpl
- Returns:
- The gui
- Throws:
RemoteException
- on badnessVisADException
- on badness
-
setStartPointsFromDomain2D
public float[][] setStartPointsFromDomain2D(int trajForm, int skip, float[][] setLocs, int lenX, int lenY, int level, float[][] flowValues, float ribbonWidthFac) throws VisADException _more_- Parameters:
trajForm
- _more_skip
- _more_setLocs
- _more_lenX
- _more_lenY
- _more_level
- _more_flowValues
- _more_ribbonWidthFac
- _more_- Returns:
- _more_
- Throws:
VisADException
- _more_
-
AxB
public static float[] AxB(float[] A, float[] B) _more_- Parameters:
A
- _more_B
- _more_- Returns:
- _more_
-
projectionChanged
public void projectionChanged()Method to call if projection changes. Subclasses that are worried about such events should implement this.- Specified by:
projectionChanged
in interfaceDisplayControl
- Overrides:
projectionChanged
in classDisplayControlImpl
-
getIsRaster
public boolean getIsRaster()Is this a raster display- Overrides:
getIsRaster
in classDisplayControlImpl
- Returns:
- true
-
getFlowScale
public float getFlowScale()Get the flow scale. Used by XML persistence- Returns:
- the flow scale for this control
-
setFlowScale
public void setFlowScale(float f) Set the flow scale. Used by XML persistence- Parameters:
f
- new flow scale
-
getTrajOffset
public float getTrajOffset()_more_- Returns:
- _more_
-
getStreamLOffset
public float getStreamLOffset()_more_- Returns:
- _more_
-
setTrajOffset
public void setTrajOffset(float f) _more_- Parameters:
f
- _more_
-
setStreamLOffset
public void setStreamLOffset(float f) _more_- Parameters:
f
- _more_
-
setTrajectories
public void setTrajectories(boolean v) _more_- Parameters:
v
- _more_
-
setVectors
public void setVectors(boolean v) _more_- Parameters:
v
- _more_
-
setStreamline
public void setStreamline(boolean v) _more_- Parameters:
v
- _more_
-
getTrajFormType
_more_- Returns:
- _more_
-
getStreamLFormType
_more_- Returns:
- _more_
-
setTrajFormType
_more_- Parameters:
trajForm
- _more_
-
setStreamLFormType
_more_- Parameters:
streamLForm
- _more_
-
setTrajStartLevel
_more_- Parameters:
startLevel
- _more_idx
- _more_
-
setTrajEndLevel
_more_- Parameters:
endLevel
- _more_idx
- _more_
-
setStreamLStartLevel
_more_- Parameters:
startLevel
- _more_idx
- _more_
-
getStreamLStartLevel
public int getStreamLStartLevel()_more_- Returns:
- _more_
-
setStreamLStartLevel
public void setStreamLStartLevel(int startLevel) _more_- Parameters:
startLevel
- _more_
-
getStreamLEndLevel
public int getStreamLEndLevel()_more_- Returns:
- _more_
-
setStreamLEndLevel
public void setStreamLEndLevel(int endLevel) _more_- Parameters:
endLevel
- _more_
-
getCurrentLevel
_more_- Returns:
- _more_
-
setCurrentLevel
_more_- Parameters:
object
- _more_
-
getTrajStartLevel
public int getTrajStartLevel()_more_- Returns:
- _more_
-
setTrajStartLevel
public void setTrajStartLevel(int startLevel) _more_- Parameters:
startLevel
- _more_
-
getTrajEndLevel
public int getTrajEndLevel()_more_- Returns:
- _more_
-
setTrajEndLevel
public void setTrajEndLevel(int endLevel) _more_- Parameters:
endLevel
- _more_
-
setStreamLEndLevel
_more_- Parameters:
endLevel
- _more_idx
- _more_
-
setColoredByAnother
public void setColoredByAnother(boolean yesno) _more_- Parameters:
yesno
- _more_
-
getColoredByAnother
public boolean getColoredByAnother()_more_- Returns:
- _more_
-
setUseSpeedForColor
public void setUseSpeedForColor(boolean yesno) _more_- Parameters:
yesno
- _more_
-
getUseSpeedForColor
public boolean getUseSpeedForColor()_more_- Returns:
- _more_
-
getColorRangeIndex
protected int getColorRangeIndex()_more_- Overrides:
getColorRangeIndex
in classGridDisplayControl
- Returns:
- _more_
-
getRangeForColorTable
_more_- Overrides:
getRangeForColorTable
in classDisplayControlImpl
- Returns:
- _more_
- Throws:
RemoteException
- _more_VisADException
- _more_
-
haveMultipleFields
protected boolean haveMultipleFields()_more_- Overrides:
haveMultipleFields
in classGridDisplayControl
- Returns:
- _more_
-
showColorControlWidget
public boolean showColorControlWidget()_more_- Overrides:
showColorControlWidget
in classDisplayControlImpl
- Returns:
- _more_
-
getColorWidgetLabel
_more_- Overrides:
getColorWidgetLabel
in classDisplayControlImpl
- Returns:
- _more_
-
getColorParamName
_more_- Overrides:
getColorParamName
in classGridDisplayControl
- Returns:
- _more_
-
getInitialRange
_more_- Overrides:
getInitialRange
in classGridDisplayControl
- Returns:
- _more_
- Throws:
RemoteException
- _more_VisADException
- _more_
-
setSkipValueZ
public void setSkipValueZ(int value) Set the skip value, if it is vector display we reload the sampled data, otherwise, it is trajectory, skip only apply to the display not data- Parameters:
value
- the value
-
getSkipValueZ
public int getSkipValueZ()_more_- Returns:
- _more_
-
setLineWidth
_more_- Overrides:
setLineWidth
in classDisplayControlImpl
- Parameters:
width
- _more_- Throws:
RemoteException
- _more_VisADException
- _more_
-
getLineWidth
public int getLineWidth()_more_- Overrides:
getLineWidth
in classDisplayControlImpl
- Returns:
- _more_
-
getIsTrajectories
public boolean getIsTrajectories()_more_- Returns:
- _more_
-
setIsTrajectories
public void setIsTrajectories(boolean isTrajectories) _more_- Parameters:
isTrajectories
- _more_
-
getIsStreamline
public boolean getIsStreamline()_more_- Returns:
- _more_
-
setIsStreamline
public void setIsStreamline(boolean isStreamLine) _more_- Parameters:
isStreamLine
- _more_
-
initAfterUnPersistence
_more_- Specified by:
initAfterUnPersistence
in interfaceDisplayControl
- Overrides:
initAfterUnPersistence
in classDisplayControlImpl
- Parameters:
vc
- _more_properties
- _more_
-