ucar.unidata.view.sounding
Class DisplayableMeanWind

java.lang.Object
  extended by ucar.visad.display.Displayable
      extended by ucar.visad.display.DisplayableData
          extended by ucar.visad.display.LineDrawing
              extended by ucar.unidata.view.sounding.DisplayableMeanWind

public abstract class DisplayableMeanWind
extends LineDrawing

Supports the display of a mean wind.

Version:
$Id: DisplayableMeanWind.java,v 1.11 2005/05/13 18:33:28 jeffmc Exp $
Author:
Steven R. Emmerson

Field Summary
 
Fields inherited from class ucar.visad.display.LineDrawing
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
 
Fields inherited from class ucar.visad.display.DisplayableData
MANIPULABLE, VISIBLE
 
Fields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET
 
Constructor Summary
protected DisplayableMeanWind()
          Constructs from nothing.
protected DisplayableMeanWind(DataRenderer dataRenderer)
          Constructs with a given VisAD DataRenderer.
 
Method Summary
 boolean equals(Object obj)
          Indicates if this instance is identical to another object.
protected  DataRenderer getDataRenderer()
          Returns the VisAD DataRenderer associated with this displayable.
 int hashCode()
          Returns the hash code of this instance.
 void setMeanWind(Tuple meanWind)
          Sets the mean wind.
 
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, 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, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DisplayableMeanWind

protected DisplayableMeanWind()
                       throws VisADException,
                              RemoteException
Constructs from nothing. The DataRenderer will be the default one.

Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.

DisplayableMeanWind

protected DisplayableMeanWind(DataRenderer dataRenderer)
                       throws VisADException,
                              RemoteException
Constructs with a given VisAD DataRenderer.

Parameters:
dataRenderer - The VisAD DataRenderer. May be null.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.
Method Detail

setMeanWind

public void setMeanWind(Tuple meanWind)
                 throws VisADException,
                        RemoteException
Sets the mean wind.

Parameters:
meanWind - The mean wind (geopotentialAltitude, (u, v)).
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.

equals

public boolean equals(Object obj)
Indicates if this instance is identical to another object.

Overrides:
equals in class Object
Parameters:
obj - The other object.
Returns:
true if and only if this instance is identical to the other object.

hashCode

public int hashCode()
Returns the hash code of this instance.

Overrides:
hashCode in class Object
Returns:
The hash code of this instance.

getDataRenderer

protected DataRenderer getDataRenderer()
                                throws VisADException
Returns the VisAD DataRenderer associated with this displayable.

Overrides:
getDataRenderer in class DisplayableData
Returns:
The DataRenderer associated with this displayable.
Throws:
VisADException - VisAD failure.