public class HeatIndexDisplay extends java.lang.Object implements java.util.Observer, DisplayElement
Modifier and Type | Field and Description |
---|---|
(package private) float |
heatIndex |
Constructor and Description |
---|
HeatIndexDisplay(java.util.Observable observable) |
Modifier and Type | Method and Description |
---|---|
void |
display() |
void |
update(java.util.Observable observable,
java.lang.Object arg) |
float heatIndex
public HeatIndexDisplay(java.util.Observable observable)
public void update(java.util.Observable observable, java.lang.Object arg)
update
in interface java.util.Observer
public void display()
display
in interface DisplayElement