stella
Interface WeatherListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DomeMaster, DomeSimulator, EnvironmentMaster, EnvironmentSimulator, MasterErrorHandler, ShelterMaster, SimulatorWeather, WeatherStation

public interface WeatherListener
extends EventListener

The listener interface for receiving weather events. The class that is interested in receiving weather events implements this interface, and the object that is created from that class registers itself to weather event generating sources. Registering and deregistering uses the standard convention names, addWeatherListener and removeWeatherListener. When a weather event occurs the weatherChanged method of all registered WeatherListeners is invoked.


Method Summary
 void weatherChanged(WeatherEvent we)
          The method called by registered weather event casters.
 

Method Detail

weatherChanged

void weatherChanged(WeatherEvent we)
The method called by registered weather event casters.