ucar.unidata.view.sounding
Class SkewTReadoutTable.TemperatureReadout

java.lang.Object
  extended by ucar.unidata.view.sounding.RealReadout
      extended by ucar.unidata.view.sounding.SkewTReadoutTable.MyReadout
          extended by ucar.unidata.view.sounding.SkewTReadoutTable.TemperatureReadout
All Implemented Interfaces:
PropertyChangeListener, EventListener
Enclosing class:
SkewTReadoutTable

protected static class SkewTReadoutTable.TemperatureReadout
extends SkewTReadoutTable.MyReadout

Provides support for temperature readouts.


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
SkewTReadoutTable.TemperatureReadout()
          Constructs from nothing.
SkewTReadoutTable.TemperatureReadout(String name)
          Constructs from a name.
 
Method Summary
 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

SkewTReadoutTable.TemperatureReadout

public SkewTReadoutTable.TemperatureReadout()
                                     throws ParseException
Constructs from nothing.

Throws:
ParseException - if the unit specification "degC" couldn't be parsed.

SkewTReadoutTable.TemperatureReadout

public SkewTReadoutTable.TemperatureReadout(String name)
                                     throws ParseException
Constructs from a name.

Parameters:
name - The name for the readout.
Throws:
ParseException - if the unit specification "degC" couldn't be parsed.
Method Detail

setTemperature

public void setTemperature(Real temperature)
Sets the temperature property.

Parameters:
temperature - The new value.