Package ucar.unidata.view.sounding
Class LclPressureBean
java.lang.Object
ucar.unidata.view.sounding.ClockedBean
ucar.unidata.view.sounding.LclPressureBean
A Java Bean that computes the pressure of the saturation-point from an
initial pressure and temperature, and a saturation-point pressure
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:31 $
- Author:
- Steven R. Emmerson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the saturation-point pressure property. -
Constructor Summary
ConstructorsConstructorDescriptionLclPressureBean
(BeanNetwork network) Constructs from the network in which this bean will be a component. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the saturation-point pressure property.void
setPressure
(Real initPres) Sets the initial pressure.void
setSaturationPointTemperature
(Real lclTemp) Sets the saturation-point temperature.void
setTemperature
(Real initTemp) Sets the initial temperature.Methods inherited from class ucar.unidata.view.sounding.ClockedBean
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
OUTPUT_PROPERTY_NAME
The name of the saturation-point pressure property.- See Also:
-
-
Constructor Details
-
LclPressureBean
Constructs from the network in which this bean will be a component.- Parameters:
network
- The bean network.
-
-
Method Details
-
setPressure
Sets the initial pressure. The data is not copied.- Parameters:
initPres
- The initial pressure.- Throws:
NullPointerException
- if the argument isnull
.TypeException
- if the pressure has the wrong type.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
setTemperature
Sets the initial temperature. The data is not copied.- Parameters:
initTemp
- The initial temperature.- Throws:
NullPointerException
- if the argument isnull
.TypeException
- if the temperature has the wrong type.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
setSaturationPointTemperature
public void setSaturationPointTemperature(Real lclTemp) throws TypeException, VisADException, RemoteException Sets the saturation-point temperature. The data is not copied.- Parameters:
lclTemp
- The saturation-point temperature.- Throws:
NullPointerException
- if the argument isnull
.TypeException
- if the temperature has the wrong type.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
getSaturationPointPressure
Returns the value of the saturation-point pressure property. The data is not copied.- Returns:
- The value of the saturation-point pressure property.
-