public class WeatherData extends java.util.Observable
Modifier and Type | Field and Description |
---|---|
private float |
humidity |
private float |
pressure |
private float |
temperature |
Constructor and Description |
---|
WeatherData() |
Modifier and Type | Method and Description |
---|---|
float |
getHumidity() |
float |
getPressure() |
float |
getTemperature() |
void |
measurementsChanged() |
void |
setMeasurements(float temperature,
float humidity,
float pressure) |
private float temperature
private float humidity
private float pressure
public WeatherData()
public void measurementsChanged()
public void setMeasurements(float temperature, float humidity, float pressure)
public float getTemperature()
public float getHumidity()
public float getPressure()