public class CurrentConditionsDisplay extends java.lang.Object implements Observer, DisplayElement
Modifier and Type | Field and Description |
---|---|
private float |
humidity |
private float |
temperature |
Constructor and Description |
---|
CurrentConditionsDisplay(Subject weatherData) |
Modifier and Type | Method and Description |
---|---|
void |
display() |
void |
update(float temperature,
float humidity,
float pressure) |
private float temperature
private float humidity
public CurrentConditionsDisplay(Subject weatherData)