|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.unidata.view.sounding.WindProfile
ucar.unidata.view.sounding.WindStaff
public class WindStaff
Provides support for the display of a wind profile as a collection of wind arrows.
| Nested Class Summary | |
|---|---|
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. |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.view.sounding.WindProfile |
|---|
DIRECTION, GEOPOTENTIAL_ALTITUDE, GEOPOTENTIAL_ALTITUDE_EXTENT, MAXIMUM_SPEED, PRESSURE, SPEED, WIND_PROFILE |
| Fields inherited from class ucar.visad.display.CompositeDisplayable |
|---|
cnt, label |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
|
WindStaff(LocalDisplay display)
Constructs from a VisAD display. |
|
WindStaff(LocalDisplay display,
TupleType tupleType)
Constructs from a VisAD display. |
protected |
WindStaff(WindStaff that)
Constructs from another instance. |
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
boolean |
equals(Object obj)
Indicates if this instance is identical to another object. |
static RealType |
getGeopotentialAltitudeRealType()
Returns the type of the geopotential altitude quantity. |
protected FlatField |
getMissingWindField()
Returns an instance of a wind field with no values. |
protected Field |
getProfile()
Returns the wind profile. |
static RealType |
getSoutherlyWindRealType()
Returns the type of the southerly wind quantity. |
RealType |
getVerticalComponentRealType()
Returns the type of the vertical component of the profile quantity. |
static RealType |
getWesterlyWindRealType()
Returns the type of the westerly wind quantity. |
int |
hashCode()
Returns the hash code of this instance. |
void |
setDisplay(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(Field profile)
Sets the wind profile. |
protected void |
setWindArrows()
Sets the wind arrows. |
void |
setWindLevels(Gridded1DSet levels)
Set the levels of the wind profile to display. |
| Methods inherited from class ucar.unidata.view.sounding.WindProfile |
|---|
ensureCartesian, getDirection, getGeopotentialAltitude, getGeopotentialAltitudeExtent, getMaximumSpeed, getPressure, getSpeed, profileChange, setAltitudeExtent, setDirection, setGeopotentialAltitude, setMaximumSpeed, setPressure, setSpeed, setSpeedAndDirection |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WindStaff(LocalDisplay display)
throws VisADException,
RemoteException
display - The VisAD display.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public WindStaff(LocalDisplay display,
TupleType tupleType)
throws VisADException,
RemoteException
display - The VisAD display.tupleType - TupleType for arrows
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected WindStaff(WindStaff that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
protected FlatField getMissingWindField()
getMissingWindField in class WindProfile
public void setProfile(Field profile)
throws VisADException,
RemoteException
setProfile in class WindProfileprofile - The wind profile.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setOriginalProfile()
throws VisADException,
RemoteException
setOriginalProfile in class WindProfileVisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setDisplay(LocalDisplay display)
throws RemoteException,
VisADException
super.setDisplay(display).
setDisplay in class CompositeDisplayabledisplay - The VisAD display. May not be
null.
NullPointerException - The display is null.
VisADException - VisAD failure.
RemoteException - Java RMI failure.Displayable.removeDataReferences()protected Field getProfile()
getProfile in class WindProfile
public static RealType getGeopotentialAltitudeRealType()
throws VisADException
VisADException - VisAD failure.
public RealType getVerticalComponentRealType()
throws VisADException
VisADException - VisAD failure.
public static RealType getWesterlyWindRealType()
throws VisADException
VisADException - VisAD failure.
public static RealType getSoutherlyWindRealType()
throws VisADException
VisADException - VisAD failure.
public void setWindLevels(Gridded1DSet levels)
throws VisADException,
RemoteException
setWindLevels in class WindProfilelevels - the set of levels (if null, display all);
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void setWindArrows()
throws RemoteException,
VisADException
VisADException - VisAD failure.
RemoteException - Java RMI failure.public boolean equals(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 WindProfile
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
cloneForDisplay in class CompositeDisplayableVisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||