|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ActionImpl
ucar.unidata.view.sounding.MeanWindCell
public class MeanWindCell
Provides support for the computation of the density-weighted, mean horizontal wind.
| Field Summary | |
|---|---|
static String |
MEAN_WIND
The name of the mean wind property. |
| Constructor Summary | |
|---|---|
MeanWindCell()
Constructs from nothing. |
|
MeanWindCell(DataReference windProfileRef,
DataReference densityProfileRef,
DataReference meanWindRef)
Constructs from DataReference-s to a wind profile, a density profile, and a mean wind. |
|
MeanWindCell(Field windProfile,
Field densityProfile)
Constructs from a wind profile and a density profile. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener. |
void |
addPropertyChangeListener(String name,
PropertyChangeListener listener)
Adds a PropertyChangeListener for a named property. |
void |
doAction()
Compute a new mean-wind value. |
boolean |
equals(Object obj)
Indicates if this instance is identical to another object. |
DataReference |
getMeanWindRef()
Returns the data reference for the mean wind. |
static Tuple |
getMissing()
Returns the missing mean-wind value. |
static TupleType |
getType()
Returns the type of the mean wind. |
Tuple |
getWind()
Returns the mean wind. |
int |
hashCode()
Returns the hash code of this instance. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener. |
void |
removePropertyChangeListener(String name,
PropertyChangeListener listener)
Removes a PropertyChangeListener for a named property. |
void |
setDensityProfile(Field densityProfile)
Sets the air-density profile. |
void |
setWindProfile(Field windProfile)
Sets the wind profile. |
| Methods inherited from class visad.ActionImpl |
|---|
addReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MEAN_WIND
| Constructor Detail |
|---|
public MeanWindCell()
throws VisADException,
RemoteException
VisADException - VisAD failure;
RemoteException - Java RMI failure.
public MeanWindCell(Field windProfile,
Field densityProfile)
throws VisADException,
RemoteException
windProfile - The wind profile.densityProfile - The density profile.
VisADException - VisAD failure;
RemoteException - Java RMI failure.
public MeanWindCell(DataReference windProfileRef,
DataReference densityProfileRef,
DataReference meanWindRef)
throws VisADException,
RemoteException
windProfileRef - The reference to the wind profile.densityProfileRef - The reference to the density profile.meanWindRef - The reference to the mean wind.
VisADException - VisAD failure;
RemoteException - Java RMI failure.| Method Detail |
|---|
public static TupleType getType()
public static Tuple getMissing()
public void doAction()
throws VisADException,
RemoteException
doAction in class ActionImplVisADException - VisAD failure.
RemoteException - Java RMI failure.public void addPropertyChangeListener(PropertyChangeListener listener)
listener - The PropertyChangeListener to be added.
public void addPropertyChangeListener(String name,
PropertyChangeListener listener)
name - The name of the property.listener - The PropertyChangeListener to be added.public void removePropertyChangeListener(PropertyChangeListener listener)
listener - The PropertyChangeListener to be removed.
public void removePropertyChangeListener(String name,
PropertyChangeListener listener)
name - The name of the property.listener - The PropertyChangeListener to be removed.
public void setWindProfile(Field windProfile)
throws VisADException,
RemoteException
windProfile - The horizontal wind profile.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setDensityProfile(Field densityProfile)
throws TypeException,
VisADException,
RemoteException
densityProfile - The air-density profile.
TypeException - Argument has wrong VisAD MathType.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public Tuple getWind()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.public DataReference getMeanWindRef()
public boolean equals(Object obj)
equals in class Objectobj - The other object.
true if and only if this instance
is identical to the other object.public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||