public class WindStaff extends WindProfile
| Modifier and Type | Class and Description |
|---|---|
protected class |
WindStaff.ArrowMapSetListener
Provides support for observing changes in the set of ScalarMap-s of a
WindArrow.
|
protected class |
WindStaff.ArrowWindListener
Provides support for observing changes in the "wind" property of a
WindArrow.
|
DIRECTION, GEOPOTENTIAL_ALTITUDE, GEOPOTENTIAL_ALTITUDE_EXTENT, MAXIMUM_SPEED, PRESSURE, SPEED, WIND_PROFILEcnt, labelDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
|
WindStaff(visad.LocalDisplay display)
Constructs from a VisAD display.
|
|
WindStaff(visad.LocalDisplay display,
visad.TupleType tupleType)
Constructs from a VisAD display.
|
protected |
WindStaff(WindStaff that)
Constructs from another instance.
|
| Modifier and Type | Method and Description |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
boolean |
equals(java.lang.Object obj)
Indicates if this instance is identical to another object.
|
static visad.RealType |
getGeopotentialAltitudeRealType()
Returns the type of the geopotential altitude quantity.
|
protected visad.FlatField |
getMissingWindField()
Returns an instance of a wind field with no values.
|
protected visad.Field |
getProfile()
Returns the wind profile.
|
static visad.RealType |
getSoutherlyWindRealType()
Returns the type of the southerly wind quantity.
|
visad.RealType |
getVerticalComponentRealType()
Returns the type of the vertical component of the profile quantity.
|
static visad.RealType |
getWesterlyWindRealType()
Returns the type of the westerly wind quantity.
|
int |
hashCode()
Returns the hash code of this instance.
|
void |
setDisplay(visad.LocalDisplay display)
Associates this instance with a given VisAD display.
|
void |
setOriginalProfile()
Resets the vertical profile of the horizontal wind to the profile of
the last setProfile().
|
void |
setProfile(visad.Field profile)
Sets the wind profile.
|
protected void |
setWindArrows()
Sets the wind arrows.
|
void |
setWindLevels(visad.Gridded1DSet levels)
Set the levels of the wind profile to display.
|
ensureCartesian, getDirection, getGeopotentialAltitude, getGeopotentialAltitudeExtent, getMaximumSpeed, getPressure, getSpeed, profileChange, setAltitudeExtent, setDirection, setGeopotentialAltitude, setMaximumSpeed, setPressure, setSpeed, setSpeedAndDirectionaddConstantMap, addDisplayable, addListDataListener, clearDisplayables, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setPointSize, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringaddConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRangepublic WindStaff(visad.LocalDisplay display)
throws visad.VisADException,
java.rmi.RemoteException
display - The VisAD display.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public WindStaff(visad.LocalDisplay display,
visad.TupleType tupleType)
throws visad.VisADException,
java.rmi.RemoteException
display - The VisAD display.tupleType - TupleType for arrowsvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected WindStaff(WindStaff that) throws java.rmi.RemoteException, visad.VisADException
that - The other instance.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected visad.FlatField getMissingWindField()
getMissingWindField in class WindProfilepublic void setProfile(visad.Field profile)
throws visad.VisADException,
java.rmi.RemoteException
setProfile in class WindProfileprofile - The wind profile.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setOriginalProfile()
throws visad.VisADException,
java.rmi.RemoteException
setOriginalProfile in class WindProfilevisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setDisplay(visad.LocalDisplay display)
throws java.rmi.RemoteException,
visad.VisADException
super.setDisplay(display).setDisplay in class CompositeDisplayabledisplay - The VisAD display. May not be
null.java.lang.NullPointerException - The display is null.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.Displayable.removeDataReferences()protected visad.Field getProfile()
getProfile in class WindProfilepublic static visad.RealType getGeopotentialAltitudeRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public visad.RealType getVerticalComponentRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public static visad.RealType getWesterlyWindRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public static visad.RealType getSoutherlyWindRealType()
throws visad.VisADException
visad.VisADException - VisAD failure.public void setWindLevels(visad.Gridded1DSet levels)
throws visad.VisADException,
java.rmi.RemoteException
setWindLevels in class WindProfilelevels - the set of levels (if null, display all);visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected void setWindArrows()
throws java.rmi.RemoteException,
visad.VisADException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public boolean equals(java.lang.Object obj)
equals in class WindProfileobj - The other object.true if and only if this instance
is identical to the other object.public int hashCode()
hashCode in class WindProfilepublic Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay in class CompositeDisplayablevisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.