public interface MonitoredStationListener
MonitoredStationList
is changed.Modifier and Type | Method and 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.
|
void stationAdded(int index, MonitoredStation station)
index
- int zero-based position in the list where the station has been addedstation
- MonitoredStation object to addvoid stationUpdated(int index, MonitoredStation station)
index
- zero-based index of the station in the MonitoredStationListstation
- MonitoredStation whose data has been updatedvoid stationRemoved(int index, MonitoredStation station)
index
- int zero-based position in the MonitoredStationList where the station used to bestation
- MonitoredStation being removed