Package ucar.unidata.view.sounding
Class SaturationMixingRatioContours
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.visad.display.ContourLines
ucar.unidata.view.sounding.BackgroundContours
ucar.unidata.view.sounding.SaturationMixingRatioContours
Provides support for displaying contours of constant saturation mixing-ratio
on a thermodynamic diagram.
- Version:
- $Id: SaturationMixingRatioContours.java,v 1.16 2005/05/13 18:33:36 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter
-
Field Summary
Fields inherited from class ucar.unidata.view.sounding.BackgroundContours
field
Fields inherited from class ucar.visad.display.ContourLines
COLOR_FILL, CONTOUR_LEVELS, CONTOUR_REAL_TYPE, LABELING
Fields inherited from class ucar.visad.display.LineDrawing
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
Fields inherited from class ucar.visad.display.DisplayableData
MANIPULABLE, renderer, VISIBLE
Fields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs from nothing.SaturationMixingRatioContours
(AerologicalCoordinateSystem coordinateSystem) Constructs from a (p,T) invalid input: '<'-> (x,y) coordinate system transformation.protected
Constructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.protected void
coordinateSystemChange
(AerologicalCoordinateSystem coordinateSystem) Handles a change to the (p,T) invalid input: '<'-> (x,y) coordinate system transformation.protected float
Returns the maximum value of the range.protected float
Returns the minimum value of the range.Methods inherited from class ucar.unidata.view.sounding.BackgroundContours
equals, hashCode, setCoordinateSystem
Methods inherited from class ucar.visad.display.ContourLines
getColorFillEnabled, getContourLevels, getContourRealType, getContourValues, getDashedStyle, isLabeling, setColorFill, setContourInfo, setContourInterval, setContourInterval, setContourLevels, setContourRealType, setDashedStyle, setDisplayUnit, setFont, setLabelFreq, setLabeling, setLabelSkip, setRange, setScalarMaps
Methods inherited from class ucar.visad.display.LineDrawing
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA
Methods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toString
Methods inherited from class ucar.visad.display.Displayable
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
-
Constructor Details
-
SaturationMixingRatioContours
Constructs from nothing.- Throws:
VisADException
- if a core VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
SaturationMixingRatioContours
public SaturationMixingRatioContours(AerologicalCoordinateSystem coordinateSystem) throws VisADException, RemoteException Constructs from a (p,T) invalid input: '<'-> (x,y) coordinate system transformation.- Parameters:
coordinateSystem
- The (p,T) invalid input: '<'-> (x,y) transformation.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
SaturationMixingRatioContours
protected SaturationMixingRatioContours(SaturationMixingRatioContours that) throws RemoteException, VisADException Constructs from another instance.- Parameters:
that
- The other instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplay
in classDisplayableData
- Returns:
- A clone of this instance.
- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
coordinateSystemChange
protected void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem) throws TypeException, RemoteException, VisADException Handles a change to the (p,T) invalid input: '<'-> (x,y) coordinate system transformation.- Specified by:
coordinateSystemChange
in classBackgroundContours
- Parameters:
coordinateSystem
- The new (p,T) invalid input: '<'-> (x,y) transformation.- Throws:
TypeException
- Somthing's type is incorrect.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
getRangeMinimum
protected float getRangeMinimum()Returns the minimum value of the range.- Returns:
- The minimum value of the range.
-
getRangeMaximum
protected float getRangeMaximum()Returns the maximum value of the range.- Returns:
- The maximum value of the range.
-