Package ucar.unidata.idv.control
Class GridTrajectoryControlNew
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.DrawingControl
ucar.unidata.idv.control.GridTrajectoryControlNew
- All Implemented Interfaces:
ActionListener,ItemListener,PropertyChangeListener,EventListener,HyperlinkListener,Sharable,DataChangeListener,DisplayControl,Prototypable,ControlListener,DisplayListener
A MetApps Display Control for drawing lines on a navigated
display.
- Version:
- $Revision: 1.145 $
- Author:
- MetApps development team
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass MyTrackControl _more_Nested classes/interfaces inherited from class ucar.unidata.idv.control.DrawingControl
DrawingControl.GlyphTable, DrawingControl.GlyphTableModelNested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl
DisplayControlImpl.SideLegendLabel -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object_more_protected Object_more_protected Object_more_static final String_more_static final DrawingCommandcommandstatic final String_more_protected Object_more_protected Object[]_more_protected Object_more_protected Object_more_protected DataSelection_more_protected JCheckBoxControls the disabled stateprotected GridDataInstance_more_Fields inherited from class ucar.unidata.idv.control.DrawingControl
ATTR_EDITABLE, ATTR_FRONTDISPLAY, ATTR_TITLE, ATTR_USETIMESINANIMATION, CMD_MOVE, CMD_SELECT, CMD_STRETCH, currentCmd, datachoice, dataChoiceProperties, FILTER_XGRF, FLAG_FILLED, FLAG_FULLLATLON, FLAG_STRAIGHT, glyphs, isProbsevere, legendNoteTextArea, legendNoteWrapper, selectedGlyphs, SHARE_LINES, straightCbx, SUFFIX_XGRF, TAG_EDITORFields 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, 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_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 voidaddControlWidgets(List widgets) Add the widgets into the controls panelvoidApply the current color to all glyphsvoid_more_protected voiddisplayUnitChanged(Unit oldUnit, Unit newUnit) _more_protected ContainerMake the guiprotected JComponentMake the main tabbed paneprotected DataInstancedoMakeDataInstance(DataChoice dataChoice) _more_doMakeLevelControl(int len, String cmd) voiddoRemove()Remove this DisplayControl from the system.boolean_more_boolean_more_protected String_more_Get the contour information for any contoursint_more_int_more_boolean_more__more__more__more__more_float[][]getEarthLocationPoints(int latIndex, int lonIndex, SampledSet domain0, Real alt, int skipFactor) _more__more_protected double_more_booleangetIs2D()_more_boolean_more_boolean_more_booleangetIsXY()_more_booleangetIsXZ()_more_booleangetIsYZ()_more_protected voidgetLegendLabels(List labels, int legendType) Overwrite the legend labels method to use the editor title if there is one.Get the label for the levels box._more_int_more_boolean_more__more__more_int_more_float_more__more__more__more_boolean_more_boolean_more_double_more_booleaninit(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) _more_protected voidInitialize the display unitvoidinitDone()_more_booleanreInit(DataChoice dataChoice) Call the api when reset the datachoice such as time driver times changedvoidRemove em all.voidremoveGC()_more_voidremoveGlyph(DrawingGlyph glyph) Remove the glyph from the drawingprotected void_more_voidsetBackwardTrajectory(boolean back) _more_voidsetColoredByAnother(boolean yesno) _more_voidsetColorScaleInfo(ColorScaleInfo newInfo) Get the range to use to apply to displayablesvoidsetCoordinateType(int type) _more_voidsetCreateTrjBtnClicked(boolean clicked) _more_voidsetCurrentCmd(String command) _more_voidsetCurrentLevel(Object lvl) _more_voidsetCurrentLevelx(Object lvl) _more_voidsetCurrentLevely(Object lvl) _more_voidsetIs2D(boolean yesno) _more_voidsetIsPoints(boolean point) _more_voidsetIsStreamline(boolean yesno) _more_voidsetIsXY(boolean isxy) _more_voidsetIsXZ(boolean isxz) _more_voidsetIsYZ(boolean isyz) _more_void_more_voidcurrent levelvoidsetLevelsX(int xlen) _more_voidsetLevelsY(int ylen) _more_void_more_void_more_voidsetSkipValue(int value) Set the skip valuevoidsetSmoothFactorValue(int ah) _more_voidsetTracerType(int type) _more_voidsetTrackArrowHead(boolean ah) _more_voidsetTrackColor(Color ah) _more_void_more_voidsetTrackLineWidth(int width) _more_voidsetTrackOffsetValue(float ah) _more_voidsetTrjColorRange(Range crange) _more_voidsetTrjColorTable(ColorTable ctable) _more_voidsetTrjDataTimeRange(DataTimeRange range) _more_voidsetUseSpeedForColor(boolean yesno) _more_voidsetWithTopo(boolean yesno) _more_protected booleanSignal base class to add this as a control listenerprotected booleanSignal base class to add this as a display listenerprotected booleanShould we show the locatio widgetsprotected voidtimeChanged(Real time) _more_Methods inherited from class ucar.unidata.idv.control.DrawingControl
addFileMenuItems, addGlyph, addLabelMacros, applyZPosition, canHandleEvents, checkZSliderEnabled, close, closestGlyph, closestGlyph, createGlyph, doCut, doFlythrough, doMakeLineWidthBox, doMakeShapesPanel, doMakeStylePanel, doMakeTablePanel, doneMovingGlyph, doProperties, evaluateGlyphJython, formatDistance, getAllTimes, getAnimationSet, getControlChangeSleepTime, getCurrentTime, getDefaultDisplayListTemplate, getDisplayUnit, getDistanceUnit, getEditable, getEditMenuItems, getEditorTitle, getEnabled, getExtraLegendComponent, getFileMenuItems, getFilled, getFont, getFrontDisplay, getFrontScale, getFullLatLon, getGlyphJython, getGlyphNameDefault, getGlyphs, getIgnoreTime, getInitialColorTable, getInitialRange, getJustification, getLineWidth, getRGBColorTable, getShapeCommands, getShowFronts, getShowNoteInLegend, getStraight, getTimeForGlyph, getUseTime, getVerticalJustification, getViewMenuItems, glyphChanged, handleDisplayChanged, handleWindowClosing, initAfterUnPersistence, isSelected, makeButtonPanel, makeModePanel, processData, processProperties, projectionChanged, receiveShareData, selectionChanged, setActive, setCoordType, setCurrentCommand, setDisplayVisibility, setEditable, setEditorTitle, setEnabled, setFilled, setFrontDisplay, setFrontScale, setFullLatLon, setGlyphJython, setGlyphs, setIgnoreTime, setLines, setLineWidth, setNoteText, setSelection, setSelection, setShowFronts, setShowNoteInLegend, setStraight, setUseTime, shouldBeVisible, showFilledCbx, showTimeWidgets, toggleVisibilityForVectorGraphicsRendering, updateLegendLabel, viewpointChanged, zSliderChangedMethods inherited from class ucar.unidata.idv.control.DisplayControlImpl
actionPerformed, 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, applyForecastHourMacro, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applySkipFactor, applySmoothing, applyTextureQuality, applyTimeRange, applyZPosition, boundsClose, canBeDocked, canDoProgressiveResolution, canExportData, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkFlag, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, dataChanged, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, doApplyProperties, doExport, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeSmoothingWidget, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, exportDisplayedData, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, firstFrameDone, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorTable, getColorTableForDisplayable, getColorTableToApply, getColorTableWidget, getColorUnit, getColorUnitName, getColorWidgetLabel, getComponentHolder, getContents, getContourInfo, getControlContext, getControlMenus, getControlWidgets, getCursorReadout, getCursorReadoutInner, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjection, getDataProjectionForMenu, getDataProjectionLabel, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, 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, getExtraMenus, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getImage, getInitDataChoices, getInitialFastRendering, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsRaster, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, 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, getRawDataUnit, 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, getVisbilityAnimationPause, getWasUnPersisted, getWindow, getWindowSize, getWindowVisible, getWindowX, getWindowY, getZPositionSliderLabel, guiExported, guiImported, hasForecastHourMacro, hasMapProjection, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAsPrototype, initAsTemplate, initBasic, initializeWithNewData, initWindow, isDisplay3D, isDisplayUnitAlsoColorUnit, isGuiShown, isInitDone, isInTransectView, isInViewManager, itemStateChanged, loadDataFromViewBounds, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, propertyChange, putTransientProperty, reallySetAttributeFlags, redoGuiLayout, reloadDataSource, 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, setColorScaleVisible, setColorTable, setColorTable, setColorTableName, setColorUnit, setColorUnitName, setComponentHolder, setContents, setContourInfo, setContourInfoParams, setData, setData, setDataChoices, setDataInstance, setDataInstances, setDataSelection, setDataTimeRange, setDefaultSamplingMode, setDefaultView, setDisplayableVisibility, setDisplayableVisiblity, setDisplayActive, setDisplayAreaSubset, setDisplayCategory, setDisplayId, setDisplayInactive, setDisplayListColor, setDisplayListColor, setDisplayListProperties, setDisplayListTemplate, setDisplayListTimeZone, setDisplayName, setDisplayUnit, setDisplayUnitName, 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, setOkToFireEvents, setOriginalDataChoicesLabel, setParamName, setPersistedVisadData, setPointSize, setProjectionInView, setProjectionInView, setProjectionInView, setProperty, setRange, setRange, setSelectRange, setSelectRangeEnabled, setSettingsDisplayUnit, setSharedColorScaleInfo, setShowInDisplayList, setShowInLegend, setShowInTabs, setShowNoteText, 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, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLockButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, writeTestArchive, xxxsetDisplayActiveMethods 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
-
enabledCbx
Controls the disabled state -
CMD_REMOVE
command -
CMD_SETLEVELS
_more_- See Also:
-
CMD_createTrj
_more_- See Also:
-
currentLevel
_more_ -
currentLevelx
_more_ -
currentLevely
_more_ -
bundleLevel
_more_ -
bundleLevelx
_more_ -
bundleLevely
_more_ -
currentLevels
_more_ -
dataSelection1
_more_ -
gridDataInstance
_more_
-
-
Constructor Details
-
GridTrajectoryControlNew
public GridTrajectoryControlNew()Create a new Drawing Control; set attributes.
-
-
Method Details
-
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_
-
setIsStreamline
public void setIsStreamline(boolean yesno) _more_- Parameters:
yesno- _more_
-
getIsStreamline
public boolean getIsStreamline()_more_- Returns:
- _more_
-
setWithTopo
public void setWithTopo(boolean yesno) _more_- Parameters:
yesno- _more_
-
getWithTopo
public boolean getWithTopo()_more_- Returns:
- _more_
-
setIs2D
public void setIs2D(boolean yesno) _more_- Parameters:
yesno- _more_
-
getIs2D
public boolean getIs2D()_more_- Returns:
- _more_
-
getIsXY
public boolean getIsXY()_more_- Returns:
- _more_
-
setIsXY
public void setIsXY(boolean isxy) _more_ -
getIsXZ
public boolean getIsXZ()_more_- Returns:
- _more_
-
setIsXZ
public void setIsXZ(boolean isxz) _more_ -
getIsYZ
public boolean getIsYZ()_more_- Returns:
- _more_
-
setIsYZ
public void setIsYZ(boolean isyz) _more_ -
timeChanged
_more_- Overrides:
timeChangedin classDrawingControl- Parameters:
time- _more_
-
getTrackLineWidth
public int getTrackLineWidth()_more_- Returns:
- _more_
-
setTrackLineWidth
public void setTrackLineWidth(int width) _more_- Parameters:
width- _more_
-
getTrjDataTimeRange
_more_- Returns:
- _more_
-
setTrjDataTimeRange
_more_- Parameters:
range- _more_
-
getTrjColorRange
_more_- Returns:
- _more_
-
setTrjColorRange
_more_- Parameters:
crange- _more_
-
getTrjColorTable
_more_- Returns:
- _more_
-
setTrjColorTable
_more_- Parameters:
ctable- _more_
-
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 classDrawingControl- Parameters:
dataChoice- the DataChoice of the moment.- Returns:
- true if everything is okay
- Throws:
RemoteException- When bad things happenVisADException- When bad things happen
-
reInit
Call the api when reset the datachoice such as time driver times changed- Parameters:
dataChoice- the DataChoice of the moment.- Returns:
- true if everything is okay
- Throws:
RemoteException- When bad things happenVisADException- When bad things happen
-
initDone
public void initDone()_more_- Overrides:
initDonein classDisplayControlImpl
-
doMakeLevelControl
- Parameters:
len- _more_cmd- _more_
-
setLevelsX
public void setLevelsX(int xlen) _more_- Parameters:
xlen- _more_
-
setLevelsY
public void setLevelsY(int ylen) _more_- Parameters:
ylen- _more_
-
displayUnitChanged
_more_- Overrides:
displayUnitChangedin classDisplayControlImpl- Parameters:
oldUnit- _more_newUnit- _more_
-
createTrajectory
public void createTrajectory()_more_ -
initAfterUnPersistence
public void initAfterUnPersistence(ControlContext vc, Hashtable properties, List preSelectedDataChoices) _more_- Specified by:
initAfterUnPersistencein interfaceDisplayControl- Overrides:
initAfterUnPersistencein classDisplayControlImpl- Parameters:
vc- _more_properties- _more_preSelectedDataChoices- _more_
-
setLevels
current level- Parameters:
levels- _more_initLevel- _more_
-
setLevel
_more_- Parameters:
r- _more_
-
setLevelx
_more_- Parameters:
r- _more_
-
setLevely
_more_- Parameters:
r- _more_
-
getLevelsLabel
Get the label for the levels box.- Returns:
- the label
-
initDisplayUnit
protected void initDisplayUnit()Initialize the display unit- Overrides:
initDisplayUnitin classDrawingControl
-
shouldAddDisplayListener
protected boolean shouldAddDisplayListener()Signal base class to add this as a display listener- Overrides:
shouldAddDisplayListenerin classDrawingControl- Returns:
- Add as display listener
-
shouldAddControlListener
protected boolean shouldAddControlListener()Signal base class to add this as a control listener- Overrides:
shouldAddControlListenerin classDrawingControl- Returns:
- Add as control listener
-
doRemove
Remove this DisplayControl from the system. Nulls out any objects for garbage collection- Specified by:
doRemovein interfaceDisplayControl- Overrides:
doRemovein classDrawingControl- Throws:
RemoteException- When bad things happenVisADException- When bad things happen
-
getLegendLabels
Overwrite the legend labels method to use the editor title if there is one.- Overrides:
getLegendLabelsin classDrawingControl- Parameters:
labels- List of labelslegendType- Side or bottom
-
removeGlyph
Remove the glyph from the drawing- Overrides:
removeGlyphin classDrawingControl- Parameters:
glyph- The glyph to remove
-
getColorParamName
_more_- Returns:
- _more_
-
getEarthLocationPoints
public float[][] getEarthLocationPoints(int latIndex, int lonIndex, SampledSet domain0, Real alt, int skipFactor) throws Exception _more_- Parameters:
latIndex- _more_lonIndex- _more_domain0- _more_alt- _more_skipFactor- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
doMakeContents
Make the gui- Overrides:
doMakeContentsin classDrawingControl- Returns:
- The gui
- Throws:
RemoteException- When bad things happenVisADException- When bad things happen
-
doMakeControlsPanel
Make the main tabbed pane- Overrides:
doMakeControlsPanelin classDrawingControl- Returns:
- Controls panel
-
addControlWidgets
Add the widgets into the controls panel- Overrides:
addControlWidgetsin classDrawingControl- Parameters:
widgets- List to add to. Add in pairs (label, widget)
-
getInitialZPosition
protected double getInitialZPosition()_more_- Overrides:
getInitialZPositionin classDrawingControl- Returns:
- _more_
-
getZPosition
public double getZPosition()_more_- Overrides:
getZPositionin classDisplayControlImpl- Returns:
- _more_
-
setBackwardTrajectory
_more_- Parameters:
back- _more_- Throws:
Exception- _more_
-
getBackwardTrajectory
_more_- Returns:
- _more_
- Throws:
Exception- _more_
-
showLocationWidgets
protected boolean showLocationWidgets()Should we show the locatio widgets- Overrides:
showLocationWidgetsin classDrawingControl- Returns:
- show the locatio widgets
-
applyColorToAll
public void applyColorToAll()Apply the current color to all glyphs- Overrides:
applyColorToAllin classDrawingControl
-
setSkipValue
public void setSkipValue(int value) Set the skip value- Overrides:
setSkipValuein classDisplayControlImpl- Parameters:
value- skip value
-
removeAllGlyphs
public void removeAllGlyphs()Remove em all.- Overrides:
removeAllGlyphsin classDrawingControl
-
removeGC
public void removeGC()_more_ -
getCoordType
public int getCoordType()_more_- Overrides:
getCoordTypein classDrawingControl- Returns:
- _more_
-
setCurrentLevel
_more_- Parameters:
lvl- _more_
-
getCurrentLevel
_more_- Returns:
- _more_
-
setCurrentLevelx
_more_- Parameters:
lvl- _more_
-
getCurrentLevelx
_more_- Returns:
- _more_
-
setCurrentLevely
_more_- Parameters:
lvl- _more_
-
getCurrentLevely
_more_- Returns:
- _more_
-
getCurrentCmd
_more_- Returns:
- _more_
-
setTrackArrowHead
public void setTrackArrowHead(boolean ah) _more_- Parameters:
ah- _more_
-
getTrackArrowHead
public boolean getTrackArrowHead()_more_- Returns:
- _more_
-
getTrackFormType
_more_- Returns:
- _more_
-
setTrackFormType
_more_- Parameters:
ah- _more_
-
getTrackOffsetValue
public float getTrackOffsetValue()_more_- Returns:
- _more_
-
setTrackOffsetValue
public void setTrackOffsetValue(float ah) _more_- Parameters:
ah- _more_
-
setTracerType
public void setTracerType(int type) _more_ -
getSmoothFactorValue
public int getSmoothFactorValue()_more_- Returns:
- _more_
-
setSmoothFactorValue
public void setSmoothFactorValue(int ah) _more_- Parameters:
ah- _more_
-
getTrackColor
_more_- Returns:
- _more_
-
setTrackColor
_more_- Parameters:
ah- _more_
-
setCurrentCmd
_more_- Parameters:
command- _more_
-
setColorScaleInfo
Get the range to use to apply to displayables- Overrides:
setColorScaleInfoin classDisplayControlImpl- Parameters:
newInfo- _more_- Throws:
RemoteException- On badnessVisADException- On badness
-
getRangeToApply
_more_- Overrides:
getRangeToApplyin classDisplayControlImpl- Returns:
- _more_
- Throws:
RemoteException- _more_VisADException- _more_
-
getColorScaleInfo
Get the contour information for any contours- Overrides:
getColorScaleInfoin classDisplayControlImpl- Returns:
- the contour information
-
getCreateTrjBtnClicked
public boolean getCreateTrjBtnClicked()_more_- Returns:
- _more_
-
setCreateTrjBtnClicked
public void setCreateTrjBtnClicked(boolean clicked) _more_- Parameters:
clicked- _more_
-
getIsPoints
public boolean getIsPoints()_more_- Returns:
- _more_
-
setIsPoints
public void setIsPoints(boolean point) _more_- Parameters:
point- _more_
-
getCoordinateType
public int getCoordinateType()_more_- Returns:
- _more_
-
setCoordinateType
public void setCoordinateType(int type) _more_- Parameters:
type- _more_
-
doMakeDataInstance
protected DataInstance doMakeDataInstance(DataChoice dataChoice) throws RemoteException, VisADException _more_- Overrides:
doMakeDataInstancein classDisplayControlImpl- Parameters:
dataChoice- _more_- Returns:
- _more_
- Throws:
RemoteException- _more_VisADException- _more_
-
getGridDataInstance
_more_- Returns:
- _more_
-
resetData
_more_- Overrides:
resetDatain classDrawingControl- Throws:
VisADException- On badnessRemoteException- On badness
-