|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.view.sounding.RealReadout
ucar.unidata.view.sounding.AerologicalReadoutTable.MyReadout
ucar.unidata.view.sounding.AerologicalReadoutTable.PTDerivedReadout
protected abstract static class AerologicalReadoutTable.PTDerivedReadout
Provides support for readouts derived from pressure and temperature.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.view.sounding.RealReadout |
|---|
RealReadout.FormatProperty, RealReadout.NameProperty, RealReadout.NumericValueProperty, RealReadout.UnitProperty |
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.view.sounding.RealReadout |
|---|
FORMAT, NAME, NUMERIC_STRING, REAL_UNIT, REALTYPE_NAME, REALTYPE_UNIT, SPECIFIED_NAME, SPECIFIED_UNIT, UNIT_STRING |
| Constructor Summary | |
|---|---|
protected |
AerologicalReadoutTable.PTDerivedReadout(String name,
String unitString,
int fractionDigitCount)
Constructs from a name, unit, and display accuracy. |
| Method Summary | |
|---|---|
protected void |
compute()
Computes the derived quantity. |
protected abstract Real |
compute(Real pressure,
Real temperature)
Computes the derived quantity from the pressure and temperature. |
Real |
getPressure()
Returns the pressure property. |
Real |
getTemperature()
Returns the temperature property. |
void |
setPressure(Real pressure)
Sets the pressure property. |
void |
setTemperature(Real temperature)
Sets the temperature property. |
| Methods inherited from class ucar.unidata.view.sounding.RealReadout |
|---|
addPropertyChangeListener, getName, getNumericString, getUnitString, propertyChange, setFormat, setNameUse, setReal, setSpecifiedName, setSpecifiedUnit, setUnitUse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AerologicalReadoutTable.PTDerivedReadout(String name,
String unitString,
int fractionDigitCount)
throws ParseException
name - The name for the readout.unitString - The unit specification for the readout.fractionDigitCount - The number of digits to have after the
decimal point.
ParseException - Invalid unit specificatin.| Method Detail |
|---|
public void setPressure(Real pressure)
throws VisADException,
RemoteException
pressure - The new value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getPressure()
public void setTemperature(Real temperature)
throws VisADException,
RemoteException
temperature - The new value.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public Real getTemperature()
protected void compute()
throws VisADException,
RemoteException
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected abstract Real compute(Real pressure,
Real temperature)
throws VisADException,
RemoteException
pressure - The pressure.temperature - The temperature.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||