public class GridTrajectoryControlNew extends DrawingControl
Modifier and Type | Class and Description |
---|---|
static class |
GridTrajectoryControlNew.MyTrajectoryControl
Class MyTrackControl _more_
|
DrawingControl.GlyphTable, DrawingControl.GlyphTableModel
DisplayControlImpl.SideLegendLabel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
bundleLevel
_more_
|
protected java.lang.Object |
bundleLevelx
_more_
|
protected java.lang.Object |
bundleLevely
_more_
|
static java.lang.String |
CMD_createTrj
_more_
|
static DrawingCommand |
CMD_REMOVE
command
|
static java.lang.String |
CMD_SETLEVELS
_more_
|
protected java.lang.Object |
currentLevel
_more_
|
protected java.lang.Object[] |
currentLevels
_more_
|
protected java.lang.Object |
currentLevelx
_more_
|
protected java.lang.Object |
currentLevely
_more_
|
protected DataSelection |
dataSelection1
_more_
|
protected javax.swing.JCheckBox |
enabledCbx
Controls the disabled state
|
protected GridDataInstance |
gridDataInstance
_more_
|
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_EDITOR
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
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_AVERAGE
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 and Description |
---|
GridTrajectoryControlNew()
Create a new Drawing Control; set attributes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addControlWidgets(java.util.List widgets)
Add the widgets into the controls panel
|
void |
applyColorToAll()
Apply the current color to all glyphs
|
void |
createTrajectory()
_more_
|
protected void |
displayUnitChanged(visad.Unit oldUnit,
visad.Unit newUnit)
_more_
|
protected java.awt.Container |
doMakeContents()
Make the gui
|
protected javax.swing.JComponent |
doMakeControlsPanel()
Make the main tabbed pane
|
protected DataInstance |
doMakeDataInstance(DataChoice dataChoice)
_more_
|
javax.swing.JComboBox |
doMakeLevelControl(int len,
java.lang.String cmd) |
void |
doRemove()
Remove this DisplayControl from the system.
|
boolean |
getBackwardTrajectory()
_more_
|
boolean |
getColoredByAnother()
_more_
|
protected java.lang.String |
getColorParamName()
_more_
|
ColorScaleInfo |
getColorScaleInfo()
Get the contour information for any contours
|
int |
getCoordinateType()
_more_
|
int |
getCoordType()
_more_
|
boolean |
getCreateTrjBtnClicked()
_more_
|
DrawingCommand |
getCurrentCmd()
_more_
|
java.lang.Object |
getCurrentLevel()
_more_
|
java.lang.Object |
getCurrentLevelx()
_more_
|
java.lang.Object |
getCurrentLevely()
_more_
|
float[][] |
getEarthLocationPoints(int latIndex,
int lonIndex,
visad.SampledSet domain0,
visad.Real alt,
int skipFactor)
_more_
|
GridDataInstance |
getGridDataInstance()
_more_
|
protected double |
getInitialZPosition()
_more_
|
boolean |
getIs2D()
_more_
|
boolean |
getIsPoints()
_more_
|
boolean |
getIsStreamline()
_more_
|
boolean |
getIsXY()
_more_
|
boolean |
getIsXZ()
_more_
|
boolean |
getIsYZ()
_more_
|
protected void |
getLegendLabels(java.util.List labels,
int legendType)
Overwrite the legend labels method to use the editor title if there is one.
|
java.lang.String |
getLevelsLabel()
Get the label for the levels box.
|
Range |
getRangeToApply()
_more_
|
int |
getSmoothFactorValue()
_more_
|
boolean |
getTrackArrowHead()
_more_
|
java.awt.Color |
getTrackColor()
_more_
|
java.lang.Integer |
getTrackFormType()
_more_
|
int |
getTrackLineWidth()
_more_
|
float |
getTrackOffsetValue()
_more_
|
Range |
getTrjColorRange()
_more_
|
ColorTable |
getTrjColorTable()
_more_
|
DataTimeRange |
getTrjDataTimeRange()
_more_
|
boolean |
getUseSpeedForColor()
_more_
|
boolean |
getWithTopo()
_more_
|
double |
getZPosition()
_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,
java.util.Hashtable properties,
java.util.List preSelectedDataChoices)
_more_
|
protected void |
initDisplayUnit()
Initialize the display unit
|
void |
initDone()
_more_
|
boolean |
reInit(DataChoice dataChoice)
Call the api when reset the datachoice
such as time driver times changed
|
void |
removeAllGlyphs()
Remove em all.
|
void |
removeGC()
_more_
|
void |
removeGlyph(DrawingGlyph glyph)
Remove the glyph from the drawing
|
protected void |
resetData()
_more_
|
void |
setBackwardTrajectory(boolean back)
_more_
|
void |
setColoredByAnother(boolean yesno)
_more_
|
void |
setColorScaleInfo(ColorScaleInfo newInfo)
Get the range to use to apply to displayables
|
void |
setCoordinateType(int type)
_more_
|
void |
setCreateTrjBtnClicked(boolean clicked)
_more_
|
void |
setCurrentCmd(java.lang.String command)
_more_
|
void |
setCurrentLevel(java.lang.Object lvl)
_more_
|
void |
setCurrentLevelx(java.lang.Object lvl)
_more_
|
void |
setCurrentLevely(java.lang.Object lvl)
_more_
|
void |
setIs2D(boolean yesno)
_more_
|
void |
setIsPoints(boolean point)
_more_
|
void |
setIsStreamline(boolean yesno)
_more_
|
void |
setIsXY(boolean isxy)
_more_
|
void |
setIsXZ(boolean isxz)
_more_
|
void |
setIsYZ(boolean isyz)
_more_
|
void |
setLevel(java.lang.Object r)
_more_
|
void |
setLevels(java.lang.Object[] levels,
java.lang.Object initLevel)
current level
|
void |
setLevelsX(int xlen)
_more_
|
void |
setLevelsY(int ylen)
_more_
|
void |
setLevelx(java.lang.Object r)
_more_
|
void |
setLevely(java.lang.Object r)
_more_
|
void |
setSkipValue(int value)
Set the skip value
|
void |
setSmoothFactorValue(int ah)
_more_
|
void |
setTracerType(int type)
_more_
|
void |
setTrackArrowHead(boolean ah)
_more_
|
void |
setTrackColor(java.awt.Color ah)
_more_
|
void |
setTrackFormType(java.lang.Integer ah)
_more_
|
void |
setTrackLineWidth(int width)
_more_
|
void |
setTrackOffsetValue(float ah)
_more_
|
void |
setTrjColorRange(Range crange)
_more_
|
void |
setTrjColorTable(ColorTable ctable)
_more_
|
void |
setTrjDataTimeRange(DataTimeRange range)
_more_
|
void |
setUseSpeedForColor(boolean yesno)
_more_
|
void |
setWithTopo(boolean yesno)
_more_
|
protected boolean |
shouldAddControlListener()
Signal base class to add this as a control listener
|
protected boolean |
shouldAddDisplayListener()
Signal base class to add this as a display listener
|
protected boolean |
showLocationWidgets()
Should we show the locatio widgets
|
protected void |
timeChanged(visad.Real time)
_more_
|
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, zSliderChanged
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, 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, xxxsetDisplayActive
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
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTmpProperty, putTmpProperty, removeTmpProperty
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime
protected javax.swing.JCheckBox enabledCbx
public static final DrawingCommand CMD_REMOVE
public static final java.lang.String CMD_SETLEVELS
public static final java.lang.String CMD_createTrj
protected java.lang.Object currentLevel
protected java.lang.Object currentLevelx
protected java.lang.Object currentLevely
protected java.lang.Object bundleLevel
protected java.lang.Object bundleLevelx
protected java.lang.Object bundleLevely
protected java.lang.Object[] currentLevels
protected DataSelection dataSelection1
protected GridDataInstance gridDataInstance
public GridTrajectoryControlNew()
public void setColoredByAnother(boolean yesno)
yesno
- _more_public boolean getColoredByAnother()
public void setUseSpeedForColor(boolean yesno)
yesno
- _more_public boolean getUseSpeedForColor()
public void setIsStreamline(boolean yesno)
yesno
- _more_public boolean getIsStreamline()
public void setWithTopo(boolean yesno)
yesno
- _more_public boolean getWithTopo()
public void setIs2D(boolean yesno)
yesno
- _more_public boolean getIs2D()
public boolean getIsXY()
public void setIsXY(boolean isxy)
public boolean getIsXZ()
public void setIsXZ(boolean isxz)
public boolean getIsYZ()
public void setIsYZ(boolean isyz)
protected void timeChanged(visad.Real time)
timeChanged
in class DrawingControl
time
- _more_public int getTrackLineWidth()
public void setTrackLineWidth(int width)
width
- _more_public DataTimeRange getTrjDataTimeRange()
public void setTrjDataTimeRange(DataTimeRange range)
range
- _more_public Range getTrjColorRange()
public void setTrjColorRange(Range crange)
crange
- _more_public ColorTable getTrjColorTable()
public void setTrjColorTable(ColorTable ctable)
ctable
- _more_public boolean init(DataChoice dataChoice) throws visad.VisADException, java.rmi.RemoteException
init
in class DrawingControl
dataChoice
- the DataChoice of the moment.java.rmi.RemoteException
- When bad things happenvisad.VisADException
- When bad things happenpublic boolean reInit(DataChoice dataChoice) throws visad.VisADException, java.rmi.RemoteException
dataChoice
- the DataChoice of the moment.java.rmi.RemoteException
- When bad things happenvisad.VisADException
- When bad things happenpublic void initDone()
initDone
in class DisplayControlImpl
public javax.swing.JComboBox doMakeLevelControl(int len, java.lang.String cmd)
len
- _more_cmd
- _more_public void setLevelsX(int xlen)
xlen
- _more_public void setLevelsY(int ylen)
ylen
- _more_protected void displayUnitChanged(visad.Unit oldUnit, visad.Unit newUnit)
displayUnitChanged
in class DisplayControlImpl
oldUnit
- _more_newUnit
- _more_public void createTrajectory()
public void initAfterUnPersistence(ControlContext vc, java.util.Hashtable properties, java.util.List preSelectedDataChoices)
initAfterUnPersistence
in interface DisplayControl
initAfterUnPersistence
in class DisplayControlImpl
vc
- _more_properties
- _more_preSelectedDataChoices
- _more_public void setLevels(java.lang.Object[] levels, java.lang.Object initLevel)
levels
- _more_initLevel
- _more_public void setLevel(java.lang.Object r)
r
- _more_public void setLevelx(java.lang.Object r)
r
- _more_public void setLevely(java.lang.Object r)
r
- _more_public java.lang.String getLevelsLabel()
protected void initDisplayUnit()
initDisplayUnit
in class DrawingControl
protected boolean shouldAddDisplayListener()
shouldAddDisplayListener
in class DrawingControl
protected boolean shouldAddControlListener()
shouldAddControlListener
in class DrawingControl
public void doRemove() throws visad.VisADException, java.rmi.RemoteException
doRemove
in interface DisplayControl
doRemove
in class DrawingControl
java.rmi.RemoteException
- When bad things happenvisad.VisADException
- When bad things happenprotected void getLegendLabels(java.util.List labels, int legendType)
getLegendLabels
in class DrawingControl
labels
- List of labelslegendType
- Side or bottompublic void removeGlyph(DrawingGlyph glyph)
removeGlyph
in class DrawingControl
glyph
- The glyph to removeprotected java.lang.String getColorParamName()
public float[][] getEarthLocationPoints(int latIndex, int lonIndex, visad.SampledSet domain0, visad.Real alt, int skipFactor) throws java.lang.Exception
latIndex
- _more_lonIndex
- _more_domain0
- _more_alt
- _more_skipFactor
- _more_java.lang.Exception
- _more_protected java.awt.Container doMakeContents() throws visad.VisADException, java.rmi.RemoteException
doMakeContents
in class DrawingControl
java.rmi.RemoteException
- When bad things happenvisad.VisADException
- When bad things happenprotected javax.swing.JComponent doMakeControlsPanel()
doMakeControlsPanel
in class DrawingControl
protected void addControlWidgets(java.util.List widgets)
addControlWidgets
in class DrawingControl
widgets
- List to add to. Add in pairs (label, widget)protected double getInitialZPosition()
getInitialZPosition
in class DrawingControl
public double getZPosition()
getZPosition
in class DisplayControlImpl
public void setBackwardTrajectory(boolean back) throws java.lang.Exception
back
- _more_java.lang.Exception
- _more_public boolean getBackwardTrajectory() throws java.lang.Exception
java.lang.Exception
- _more_protected boolean showLocationWidgets()
showLocationWidgets
in class DrawingControl
public void applyColorToAll()
applyColorToAll
in class DrawingControl
public void setSkipValue(int value)
setSkipValue
in class DisplayControlImpl
value
- skip valuepublic void removeAllGlyphs()
removeAllGlyphs
in class DrawingControl
public void removeGC()
public int getCoordType()
getCoordType
in class DrawingControl
public void setCurrentLevel(java.lang.Object lvl)
lvl
- _more_public java.lang.Object getCurrentLevel()
public void setCurrentLevelx(java.lang.Object lvl)
lvl
- _more_public java.lang.Object getCurrentLevelx()
public void setCurrentLevely(java.lang.Object lvl)
lvl
- _more_public java.lang.Object getCurrentLevely()
public DrawingCommand getCurrentCmd()
public void setTrackArrowHead(boolean ah)
ah
- _more_public boolean getTrackArrowHead()
public java.lang.Integer getTrackFormType()
public void setTrackFormType(java.lang.Integer ah)
ah
- _more_public float getTrackOffsetValue()
public void setTrackOffsetValue(float ah)
ah
- _more_public void setTracerType(int type)
public int getSmoothFactorValue()
public void setSmoothFactorValue(int ah)
ah
- _more_public java.awt.Color getTrackColor()
public void setTrackColor(java.awt.Color ah)
ah
- _more_public void setCurrentCmd(java.lang.String command)
command
- _more_public void setColorScaleInfo(ColorScaleInfo newInfo) throws visad.VisADException, java.rmi.RemoteException
setColorScaleInfo
in class DisplayControlImpl
newInfo
- _more_java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic Range getRangeToApply() throws java.rmi.RemoteException, visad.VisADException
getRangeToApply
in class DisplayControlImpl
java.rmi.RemoteException
- _more_visad.VisADException
- _more_public ColorScaleInfo getColorScaleInfo()
getColorScaleInfo
in class DisplayControlImpl
public boolean getCreateTrjBtnClicked()
public void setCreateTrjBtnClicked(boolean clicked)
clicked
- _more_public boolean getIsPoints()
public void setIsPoints(boolean point)
point
- _more_public int getCoordinateType()
public void setCoordinateType(int type)
type
- _more_protected DataInstance doMakeDataInstance(DataChoice dataChoice) throws java.rmi.RemoteException, visad.VisADException
doMakeDataInstance
in class DisplayControlImpl
dataChoice
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public GridDataInstance getGridDataInstance()
protected void resetData() throws visad.VisADException, java.rmi.RemoteException
resetData
in class DrawingControl
visad.VisADException
- On badnessjava.rmi.RemoteException
- On badness