Class WeatherStatusDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Runnable, Accessible, RootPaneContainer, WindowConstants, WeatherListener

public class WeatherStatusDialog extends JFrame implements WeatherListener, Runnable
This class displays the current state of the weather station as a non-modal dialog.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • WeatherStatusDialog

      public WeatherStatusDialog(ResourceBundle msgBundle)
      Create the WeatherStatusDialog as a child of the calling frame.
      Parameters:
      msgBundle - the ResourceBundle to use to get localized text strings
  • Method Details

    • weatherUpdated

      public void weatherUpdated(WeatherDistributor wDist)
      Do not call. Listener implementation to handle real-time updates in local weather data.
      Specified by:
      weatherUpdated in interface WeatherListener
      Parameters:
      wDist - WeatherDistributor containing the weather data
    • run

      public void run()
      Do not call. Listener implementation to handle real-time updates in local weather data.
      Specified by:
      run in interface Runnable