Interface MonitoredStationListener

All Known Implementing Classes:
HealthMonitorGui.TMIGate, HealthMonitorGui.TMStatus, TMWeather

public interface MonitoredStationListener
Implementors of this interface can be informed when a MonitoredStationList is changed.
Author:
Andrew Pavlin, KA2DDO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stationAdded(int index, MonitoredStation station)
    Tell the listener that a new station has been added to the MonitoredStationList.
    void
    stationRemoved(int index, MonitoredStation station)
    Tell the listener that a station is no longer being monitored.
    void
    stationUpdated(int index, MonitoredStation station)
    Tell the listener that data about a MonitoredStation has changed.
  • Method Details

    • stationAdded

      void stationAdded(int index, MonitoredStation station)
      Tell the listener that a new station has been added to the MonitoredStationList.
      Parameters:
      index - int zero-based position in the list where the station has been added
      station - MonitoredStation object to add
    • stationUpdated

      void stationUpdated(int index, MonitoredStation station)
      Tell the listener that data about a MonitoredStation has changed.
      Parameters:
      index - zero-based index of the station in the MonitoredStationList
      station - MonitoredStation whose data has been updated
    • stationRemoved

      void stationRemoved(int index, MonitoredStation station)
      Tell the listener that a station is no longer being monitored.
      Parameters:
      index - int zero-based position in the MonitoredStationList where the station used to be
      station - MonitoredStation being removed