Package ucar.unidata.view.sounding
Class WindProfileDisplayable
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.LineDrawing
ucar.unidata.view.sounding.WindProfileDisplayable
Supports the display a horizontal wind as a wind-direction shaft with barbs.
The VisAD MathType of the horizontal wind is the TupleType
(GeopotentialAltitude, (WesterlyWind, SoutherlyWind)).
- 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.visad.display.LineDrawing
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZEFields inherited from class ucar.visad.display.DisplayableData
MANIPULABLE, renderer, VISIBLEFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs from nothing.protectedConstructs from another instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this instance suitable for another VisAD display.booleanIndicates if this instance is identical to another object.protected DataRendererReturns theDataRendererassociated with this instance.Returns the wind.inthashCode()Returns the hash code of this instance.voidsetProfile(Field profile) Sets the wind.Methods inherited from class ucar.visad.display.LineDrawing
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBAMethods inherited from class ucar.visad.display.DisplayableData
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toStringMethods 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, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
-
Constructor Details
-
WindProfileDisplayable
Constructs from nothing. The TupleType will be the default. The data will be manipulable.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
WindProfileDisplayable
protected WindProfileDisplayable(WindProfileDisplayable that) throws VisADException, RemoteException Constructs from another instance.- Parameters:
that- The other instance.- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
-
Method Details
-
setProfile
Sets the wind.- Parameters:
profile- The horizontal wind (geopotentialAltitude, (u, v)).- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
getProfile
Returns the wind.- Returns:
- The horizontal wind.
- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
equals
Indicates if this instance is identical to another object. -
hashCode
public int hashCode()Returns the hash code of this instance. -
cloneForDisplay
Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.- Overrides:
cloneForDisplayin classDisplayableData- Returns:
- A clone of this instance.
- Throws:
VisADException- VisAD failure.RemoteException- Java RMI failure.
-
getDataRenderer
Returns theDataRendererassociated with this instance.- Overrides:
getDataRendererin classDisplayableData- Returns:
- The
DataRendererassociated with this instance.
-