public class ForecastDisplay extends java.lang.Object implements Observer, DisplayElement
Modifier and Type | Field and Description |
---|---|
private float |
currentPressure |
private float |
lastPressure |
Constructor and Description |
---|
ForecastDisplay(WeatherData weatherData) |
Modifier and Type | Method and Description |
---|---|
void |
display() |
void |
update(float temp,
float humidity,
float pressure) |
private float currentPressure
private float lastPressure
public ForecastDisplay(WeatherData weatherData)