Package ucar.unidata.view.sounding
Class BackgroundContours
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.visad.display.ContourLines
ucar.unidata.view.sounding.BackgroundContours
- Direct Known Subclasses:
DryAdiabats
,Isobars
,Isotherms
,SaturationAdiabats
,SaturationMixingRatioContours
Supports background contours on a thermodynamic diagram.
- Version:
- $Id: BackgroundContours.java,v 1.18 2005/05/13 18:33:24 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Nested Class Summary
Nested classes/interfaces inherited from class ucar.visad.display.DisplayableData
DisplayableData.DragAdapter
-
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotected
BackgroundContours
(String name, ContourLevels initialContours, RealType rangeType) Constructs from a name for the displayable, the contour levels, and the type of the contoured quantity.protected
Constructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
coordinateSystemChange
(AerologicalCoordinateSystem coordinateSystem) Handle a change to the coordinate system transformation.final boolean
Indicates if this instance is semantically identical to another object.final int
hashCode()
Gets the hash code of this instance.final void
setCoordinateSystem
(AerologicalCoordinateSystem coordinateSystem) Sets the associated coordinate system transformation.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, cloneForDisplay, 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
-
Field Details
-
field
The field of values to be contoured. This field must be set by the subclass.
-
-
Constructor Details
-
BackgroundContours
protected BackgroundContours(String name, ContourLevels initialContours, RealType rangeType) throws VisADException, RemoteException Constructs from a name for the displayable, the contour levels, and the type of the contoured quantity.- Parameters:
name
- The name for the displayable.initialContours
- The initial contours.rangeType
- The type of the contoured quantity.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
BackgroundContours
Constructs from another instance.- Parameters:
that
- The other instance.- Throws:
VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
setCoordinateSystem
public final void setCoordinateSystem(AerologicalCoordinateSystem coordinateSystem) throws VisADException Sets the associated coordinate system transformation.- Parameters:
coordinateSystem
- The (p,T) invalid input: '<'-> (x,y) transformation.- Throws:
VisADException
- VisAD failure.
-
equals
Indicates if this instance is semantically identical to another object. -
hashCode
public final int hashCode()Gets the hash code of this instance. -
coordinateSystemChange
protected abstract void coordinateSystemChange(AerologicalCoordinateSystem coordinateSystem) throws TypeException, RemoteException, VisADException Handle a change to the coordinate system transformation.- Parameters:
coordinateSystem
- The new (p,T) invalid input: '<'-> (x,y) transformation.- Throws:
TypeException
- Something has the wrong type.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-