Package ucar.unidata.view.sounding
Class SkewTReadoutTable.TemperatureReadout
java.lang.Object
ucar.unidata.view.sounding.RealReadout
ucar.unidata.view.sounding.SkewTReadoutTable.MyReadout
ucar.unidata.view.sounding.SkewTReadoutTable.TemperatureReadout
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
- Enclosing class:
SkewTReadoutTable
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
ConstructorsConstructorDescriptionConstructs from nothing.TemperatureReadout
(String name) Constructs from a name. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
TemperatureReadout
Constructs from nothing.- Throws:
ParseException
- if the unit specification "degC" couldn't be parsed.
-
TemperatureReadout
Constructs from a name.- Parameters:
name
- The name for the readout.- Throws:
ParseException
- if the unit specification "degC" couldn't be parsed.
-
-
Method Details
-
setTemperature
Sets the temperature property.- Parameters:
temperature
- The new value.
-