Package org.ka2ddo.yaac.healthmonitor
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 TypeMethodDescriptionvoid
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
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 addedstation
- MonitoredStation object to add
-
stationUpdated
Tell the listener that data about a MonitoredStation has changed.- Parameters:
index
- zero-based index of the station in the MonitoredStationListstation
- MonitoredStation whose data has been updated
-
stationRemoved
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 bestation
- MonitoredStation being removed
-