public class SoundingViewManager extends ViewManager implements AerologicalDisplayConstants
ViewManager.MatrixCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREF_PREFIX
Prefix for preferences
|
animationHolder, animationMenu, borderHighlightColor, borderWidth, clickToFocus, displayBounds, fullScreenWindow, highlightBorder, innerContents, lastActive, lastTimeActivated, lastTimePolled, logoPoses, nameLabel, normalBorder, PREF_3DCLIP, PREF_ANIREADOUT, PREF_BGCOLOR, PREF_BORDERCOLOR, PREF_CONTOUR_LABELALIGN, PREF_CONTOUR_LABELFONT, PREF_CONTOUR_LABELSIZE, PREF_DIMENSION, PREF_DISPLAYLISTCOLOR, PREF_DISPLAYLISTFONT, PREF_FGCOLOR, PREF_LOGO, PREF_LOGO_POSITION_OFFSET, PREF_LOGO_SCALE, PREF_LOGO_VISIBILITY, PREF_SHAREVIEWS, PREF_SHOWANIMATIONBOXES, PREF_SHOWBOTTOMLEGEND, PREF_SHOWCURSOR, PREF_SHOWDISPLAYLIST, PREF_SHOWSCALES, PREF_SHOWSIDELEGEND, PREF_SHOWTOOLBAR, PREF_SHOWTRANSECTSCALES, PREF_TOOLBARSFLOATABLE, PREF_TOPBAR_VISIBLE, PREF_WAITMSG, PREF_WIREFRAME, PROP_COMPONENT_RESIZED, showControlLegend, showControlMenu, TAG_COLORPAIR, TAG_COLORPAIRS, toolbarIds, toolbarNames, toolbars, windowBounds
EMAGRAM_DISPLAY, HODOGRAPH_DISPLAY, SKEWT_DISPLAY, STUVE_DISPLAY
Constructor and Description |
---|
SoundingViewManager()
A paramterless ctor for XmlEncoder based decoding.
|
SoundingViewManager(ViewContext viewContext,
DisplayMaster master,
ViewDescriptor viewDescriptor,
java.lang.String properties)
Create a SoundingViewManager with the given context, display,
descriptor, properties string.
|
SoundingViewManager(ViewContext viewContext,
ViewDescriptor desc,
java.lang.String properties)
Create a SoundingViewManager with the given context,
descriptor, object store and properties string.
|
SoundingViewManager(ViewContext viewContext,
ViewDescriptor desc,
java.lang.String properties,
AnimationInfo animationInfo)
Create a SoundingViewManager with the given context, descriptor, object store,
properties string and animation state.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertiesComponents(javax.swing.JTabbedPane tabbedPane)
Add a JTabbedPane to the properties component
|
boolean |
animationOk()
Do we support animation?
|
boolean |
applyProperties()
Apply the properties
|
protected DisplayMaster |
doMakeDisplayMaster()
Factory method for creating the display master
|
java.lang.String |
getChartType()
Get the chart type.
|
visad.CoordinateSystem |
getDisplayCoordinateSystem()
Get the display side coordinate system, subclasses should implement
if there is one.
|
boolean |
getDryAdiabatVisibility()
Get the dry adiabat visibility
|
boolean |
getIsobarsVisibility()
Get the isobars visibility
|
boolean |
getSaturationAdiabatVisibility()
Get the saturated adiabat visibility
|
boolean |
getSaturationMixingRatioVisibility()
Get the saturation mixing ratio visibility
|
boolean |
getShowSideLegend()
Don't show the side legend
|
static java.lang.String |
getTypeLabel(java.lang.String chartType)
Get the label for the type of display
|
java.lang.String |
getTypeName()
What type of view is this
|
void |
initializeViewMenu(javax.swing.JMenu viewMenu)
Initialize the view menu
|
void |
setChartType(java.lang.String value)
Set the chart type.
|
void |
setDryAdiabatVisibility(boolean value)
Set the dry adiabat visibility
|
void |
setIsobarsVisibility(boolean value)
Set the isobars visibility
|
void |
setSaturationAdiabatVisibility(boolean value)
Set the saturated adiabat visibility
|
void |
setSaturationMixingRatioVisibility(boolean value)
Set the saturation mixing ratio visibility
|
void |
setSoundingDisplay(AerologicalDisplay ad)
Set the sounding display
|
actionPerformed, addBooleanProperty, addCommand, addContextMenuItems, addDisplayInfo, addDisplayInfos, addDisplayListener, addRemovable, addToolBar, addViewDescriptor, animationDriverChanged, animationTimeChanged, applyPreferences, aspectSliderChanged, brighter, canBe, captureIslImage, checkForKmlImageCapture, checkToolBarVisibility, clearDisplays, clearImageGrabber, controlChanged, controlMoved, createCBMI, destroy, displayChanged, displayControlChanged, displayControlVisibilityChanged, displayDataChanged, doClose, doDrop, doMakeContents, doMakeMenuBar, doMakeMenuList, doMakeViewState, doneFirstFrame, doPrintImage, doPublishImage, doPublishImage, doSaveImage, doSaveImage, doSaveImageInThread, doSaveState, ensureOnlyOneTimeDriver, fillLegends, fillLegendsInner, fillLegendsLater, findLoc, firstInitializeViewMenu, getAliases, getAnimation, getAnimationInfo, getAnimationStringVisible, getAnimationTimes, getAnimationWidget, getAniReadout, getAspectPropertiesComponent, getAspectRatio, getBackground, getBooleanPropertiesForPersistence, getBooleanProperty, getBooleanProperty, getBp, getBp, getClickToFocus, getCommandManager, getComponent, getContents, getContentsBorder, getControls, getControlsForLegend, getDefaultBackground, getDefaultForeground, getDisplayBounds, getDisplayConventions, getDisplayInfos, getDisplayInitMatrix, getDisplayListColor, getDisplayListFont, getDisplayMatrix, getDisplayRenderer, getDisplayWindow, getExternalAnimation, getExternalAnimationWidget, getForeground, getFullScreenHeight, getFullScreenWidth, getHasWindow, getHaveInitialized, getHighlightBorder, getIdv, getIdvUIManager, getInitDone, getInitialBooleanProperties, getInitViewStateName, getInnerContents, getIsActive, getIsDestroyed, getIsShared, getLastFrameDoneTime, getLastTimeActivated, getLegendOnLeft, getLegends, getLegendState, getLights, getLogoFile, getLogoPosition, getLogoScale, getLogoVisibility, getMainPropertiesComponent, getMaster, getMySize, getName, getNormalBorder, getPerspectiveView, getProjectionControl, getProjectionList, getProperties, getPropertiesComponent, getProperty, getPublishManager, getReallyHasWindow, getResourceManager, getShareViews, getShowAnimationBoxes, getShowBottomLegend, getShowControlLegend, getShowDisplayList, getShowScales, getSideComponent, getSideDividerLocation, getSideLegend, getSideLegendContainer, getSkinProperties, getSkinProperty, getSplitPaneLocation, getStateManager, getStore, getTimeDriverTimes, getTimelineComponent, getToolbarsFloatable, getTopBarVisible, getUniqueId, getUseFastRendering, getViewDescriptor, getViewManager, getVisibleGeoBounds, getVMManager, getWaitMessageVisible, getWireframe, guiInitializationDone, handleBooleanPropertyChange, handleControlChanged, hasBooleanProperty, hasDisplayMaster, init, initAfterUnPersistence, initBooleanProperties, initColorMenu, initDisplayMenu, initFromSkin, initializeBooleanProperty, initPreferences, initToolBars, initUI, initViewState, initViewStateMenu, initWith, initWith, initWith, initWithInner, insertSideLegend, isClassOk, isCompatibleWith, isCompatibleWith, isDefinedBy, isFullScreen, isInteractive, isVectorGraphicsFile, itemStateChanged, keyWasTyped, logException, makeBufferedImage, makeColorMenu, makeDropPanel, makeFrames, makeLogoPosition, makeSavedViewsMenu, makeShowMenu, makeViewMenu, makeViewStateMenu, notifyDisplayControls, okToImportDisplay, paintDisplayList, parseLogoPosition, parseProperties, printAspect, putProperty, reallyFillLegends, removeColorPair, removeDisplayInfo, resetAspectSliders, resetFullScreen, resetProjectionControl, setAliases, setAnimatedVisibility, setAnimationInfo, setAnimationStringVisible, setAniReadout, setAspectRatio, setBackground, setBooleanProperties, setBooleanPropertiesForPersistence, setBp, setClickToFocus, setColors, setContentsBorder, setCursorInDisplay, setDisplayBounds, setDisplayListColor, setDisplayListFont, setDisplayMaster, setDisplayMatrix, setExternalAnimation, setForeground, setFullScreen, setFullScreenHeight, setFullScreenWidth, setHasWindow, setHighlightBorder, setIdv, setInitialSplitPaneLocation, setInitViewStateName, setIsShared, setLastActive, setLegendOnLeft, setLegendState, setLegendState, setLights, setLogoFile, setLogoPosition, setLogoScale, setLogoVisibility, setMasterActive, setMasterActive, setMasterInactive, setName, setProjectionFromData, setProperties, setProperty, setShareViews, setShowControlLegend, setShowDisplayList, setShowScales, setShowToolBars, setSideDividerLocation, setSideLegend, setSideLegendPosition, setSize, setSkinProperties, setSplitPaneLocation, setTimeDriverTimes, setTopBarVisible, setView, setViewDescriptor, setWaitMessageVisible, setWindow, setWindowBounds, setWireframe, shouldDoThingsRightAway, showColorPairDialog, showHighlight, showLegend, showPropertiesDialog, showTimeline, showWindow, startImageCapture, toFront, toggleFullScreen, toString, turnOnOffAllDisplays, updateAnnotations, updateDisplayIfNeeded, updateDisplayList, updateNameLabel, useDisplay, useImages, useImages, writeImage, writeImage, writeImage, writeImage, writeImage, writeImage, writeImage, writeTestArchive
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public static final java.lang.String PREF_PREFIX
public SoundingViewManager()
public SoundingViewManager(ViewContext viewContext, ViewDescriptor desc, java.lang.String properties) throws visad.VisADException, java.rmi.RemoteException
viewContext
- Provides a context for the VM to be in.desc
- The ViewDescriptor that identifies this VMproperties
- A set of ";" delimited name-value pairs.visad.VisADException
- the VisAD exceptionjava.rmi.RemoteException
- the remote exceptionpublic SoundingViewManager(ViewContext viewContext, ViewDescriptor desc, java.lang.String properties, AnimationInfo animationInfo) throws visad.VisADException, java.rmi.RemoteException
viewContext
- Provides a context for the VM to be in.desc
- The ViewDescriptor that identifies this VMproperties
- A set of ";" delimited name-value pairs.animationInfo
- Initial animation propertiesvisad.VisADException
- the VisAD exceptionjava.rmi.RemoteException
- the remote exceptionpublic SoundingViewManager(ViewContext viewContext, DisplayMaster master, ViewDescriptor viewDescriptor, java.lang.String properties) throws visad.VisADException, java.rmi.RemoteException
viewContext
- Provides a context for the VM to be in.master
- display masterviewDescriptor
- The ViewDescriptor that identifies this VMproperties
- A set of ";" delimited name-value pairs.visad.VisADException
- the VisAD exceptionjava.rmi.RemoteException
- the remote exceptionpublic void initializeViewMenu(javax.swing.JMenu viewMenu)
initializeViewMenu
in class ViewManager
viewMenu
- the view menuprotected DisplayMaster doMakeDisplayMaster() throws visad.VisADException, java.rmi.RemoteException
doMakeDisplayMaster
in class ViewManager
java.rmi.RemoteException
- On badnessvisad.VisADException
- On badnesspublic void setSoundingDisplay(AerologicalDisplay ad)
ad
- the sounding displaypublic boolean getShowSideLegend()
getShowSideLegend
in class ViewManager
public java.lang.String getTypeName()
getTypeName
in class ViewManager
public boolean animationOk()
animationOk
in class ViewManager
protected void addPropertiesComponents(javax.swing.JTabbedPane tabbedPane)
addPropertiesComponents
in class ViewManager
tabbedPane
- the pane to addpublic boolean applyProperties()
applyProperties
in class ViewManager
public static java.lang.String getTypeLabel(java.lang.String chartType)
chartType
- type namepublic java.lang.String getChartType()
public void setChartType(java.lang.String value)
value
- chart typepublic boolean getSaturationAdiabatVisibility()
public void setSaturationAdiabatVisibility(boolean value)
value
- true if visiablepublic boolean getDryAdiabatVisibility()
public boolean getIsobarsVisibility()
public void setDryAdiabatVisibility(boolean value)
value
- true if visiablepublic void setIsobarsVisibility(boolean value)
value
- true if visiablepublic boolean getSaturationMixingRatioVisibility()
public void setSaturationMixingRatioVisibility(boolean value)
value
- true if visiablepublic visad.CoordinateSystem getDisplayCoordinateSystem()
getDisplayCoordinateSystem
in class ViewManager