public class ForecastDisplay extends java.lang.Object implements java.util.Observer, DisplayElement
Modifier and Type | Field and Description |
---|---|
private float |
currentPressure |
private float |
lastPressure |
Constructor and Description |
---|
ForecastDisplay(java.util.Observable observable) |
Modifier and Type | Method and Description |
---|---|
void |
display() |
void |
update(java.util.Observable observable,
java.lang.Object arg) |
private float currentPressure
private float lastPressure
public ForecastDisplay(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