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
public abstract class BackgroundContours
- extends ContourLines
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
|
Field Summary |
protected Field |
field
The field of values to be contoured. |
| Methods inherited from class ucar.visad.display.ContourLines |
getColorFillEnabled, getContourLevels, getContourRealType, getContourValues, isLabeling, setColorFill, setContourInterval, setContourInterval, setContourLevels, setContourRealType, setDisplayUnit, setLabeling, 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, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, toString |
| Methods inherited from class ucar.visad.display.Displayable |
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, 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, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront |
field
protected Field field
- The field of values to be contoured. This field must be set by the
subclass.
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
protected BackgroundContours(BackgroundContours that)
throws VisADException,
RemoteException
- Constructs from another instance.
- Parameters:
that - The other instance.
- Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
setCoordinateSystem
public final void setCoordinateSystem(AerologicalCoordinateSystem coordinateSystem)
throws VisADException
- Sets the associated coordinate system transformation.
- Parameters:
coordinateSystem - The (p,T) <-> (x,y) transformation.
- Throws:
VisADException - VisAD failure.
equals
public final boolean equals(Object obj)
- Indicates if this instance is semantically identical to another object.
- Overrides:
equals in class Object
- Parameters:
obj - The other object.
- Returns:
true if and only if this instance
is semantically equal to the other object.
hashCode
public final int hashCode()
- Gets the hash code of this instance.
- Overrides:
hashCode in class Object
- Returns:
- 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) <-> (x,y) transformation.
- Throws:
TypeException - Something has the wrong type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.