ucar.unidata.view.sounding
Class LclPressureBean

java.lang.Object
  extended by ucar.unidata.view.sounding.ClockedBean
      extended by ucar.unidata.view.sounding.LclPressureBean

public final class LclPressureBean
extends ClockedBean

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
static String OUTPUT_PROPERTY_NAME
          The name of the saturation-point pressure property.
 
Constructor Summary
LclPressureBean(BeanNetwork network)
          Constructs from the network in which this bean will be a component.
 
Method Summary
 Data getSaturationPointPressure()
          Returns 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_PROPERTY_NAME

public static final String OUTPUT_PROPERTY_NAME
The name of the saturation-point pressure property.

See Also:
Constant Field Values
Constructor Detail

LclPressureBean

public LclPressureBean(BeanNetwork network)
Constructs from the network in which this bean will be a component.

Parameters:
network - The bean network.
Method Detail

setPressure

public void setPressure(Real initPres)
                 throws TypeException,
                        VisADException,
                        RemoteException
Sets the initial pressure. The data is not copied.

Parameters:
initPres - The initial pressure.
Throws:
NullPointerException - if the argument is null.
TypeException - if the pressure has the wrong type.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

setTemperature

public void setTemperature(Real initTemp)
                    throws TypeException,
                           VisADException,
                           RemoteException
Sets the initial temperature. The data is not copied.

Parameters:
initTemp - The initial temperature.
Throws:
NullPointerException - if the argument is null.
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 is null.
TypeException - if the temperature has the wrong type.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

getSaturationPointPressure

public Data getSaturationPointPressure()
Returns the value of the saturation-point pressure property. The data is not copied.

Returns:
The value of the saturation-point pressure property.