Package ucar.unidata.view.sounding
Class DR
java.lang.Object
visad.DisplayRenderer
visad.java2d.DisplayRendererJ2D
visad.java2d.DefaultDisplayRendererJ2D
ucar.unidata.view.sounding.DR
- All Implemented Interfaces:
EventListener
,ControlListener
,RendererSourceListener
Provides a 2-D VisAD display for a Skew T, Log P Diagram (alias "Skew-T
Chart"). Instances of this class use a protected coordinate system that maps
between (PRESSURE,TEMPERATURE) and (Display.XAxis,Display.YAxis).
- Version:
- $Id: DR.java,v 1.10 2005/05/13 18:33:27 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the background.static void
Tests this class.protected UnionSet
Returns new Y contours.Methods inherited from class visad.java2d.DefaultDisplayRendererJ2D
createSceneGraph, getMode2D, legalDisplayScalar, setBoxAspect, setLineWidth
Methods inherited from class visad.java2d.DisplayRendererJ2D
addDirectManipulationSceneGraphComponent, addKeyboardBehavior, addSceneGraphComponent, anyCursorStringVector, anyDirects, clearScale, clearScales, clearScene, controlChanged, createBasicSceneGraph, createBasicSceneGraph, depth_cursor, drag_cursor, drag_depth, drawCursorStringVector, findDirect, getBoxOnBranch, getCanvas, getCursor, getCursorOnBranch, getDirect, getImage, getMouseBehavior, getNonDirect, getRoot, getTextureHeightMax, getTextureWidthMax, getTrans, initControl, legalDataRenderer, makeControl, makeDefaultRenderer, render_trigger, rendererDeleted, saveSceneToFile, setClip, setCursorOn, setDirectOn, setDisplay, setScale, setScale, setScale, setScaleOn, setTransform2D, setWaitFlag, unsetClip
Methods inherited from class visad.DisplayRenderer
getAnimationString, getAnimationStringVisible, getBoxOn, getCursorColor, getCursorStringVector, getCursorStringVectorUnconditional, getDirectAxisValue, getDirectAxisValue, getDisplay, getPickThreshhold, getRendererControl, getRotateAboutCenter, getScaleRotation, getWaitFlag, getWaitMessageVisible, prepareAction, setAnimationString, setAnimationStringVisible, setBackgroundColor, setBackgroundColor, setBoxColor, setBoxColor, setBoxOn, setCursorColor, setCursorColor, setCursorStringOn, setCursorStringVector, setCursorStringVector, setForegroundColor, setForegroundColor, setPickThreshhold, setRotateAboutCenter, setScaleRotation, setWaitMessageVisible
-
Constructor Details
-
DR
public DR()Constructs from nothing.
-
-
Method Details
-
enableBackground
Adds the background.- Throws:
VisADException
- if a core VisAD failure occurs.
-
newYContours
Returns new Y contours.- Returns:
- New Y contours.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
main
Tests this class.- Parameters:
args
- Execution arguments.- Throws:
Exception
- Something went wrong.
-