Interface TrackerListener

All Known Implementing Classes:
AlohaTracker, BulletinBoard, HeardStationsTableModel, LineOfSightPane, MessageModel, MonitoredStationList, ObjectPacketModel, ObjectReportSender, PopupStationWindow, SendingStationFilter, StationListTableModel, StationRenderer, SymbolFilter, TelemetryModel

public interface TrackerListener
This interface defines events that can occur when the StationTracker class is updated with new node information.
Author:
Andrew Pavlin, KA2DDO
  • Method Details

    • stationAdded

      void stationAdded(StationState ss, int index)
      Called when a new station is initially added to the tracker.
      Parameters:
      ss - StationState containing the station's information; the initial AX25Message will not yet be stored within the StationState object
      index - zero-based integer sequence number for this station in the StationTracker
    • stationUpdated

      void stationUpdated(StationState ss)
      Called when an existing station is updated with new information in the tracker.
      Parameters:
      ss - StationState containing the station's information
    • stationDeleted

      void stationDeleted(StationState ss, int index)
      Called when an existing station is deleted from the tracker.
      Parameters:
      ss - StationState containing the station's information
      index - zero-based integer sequence number for this station in the StationTracker
    • messageAdded

      void messageAdded(StationState ss, int index, AX25Message msg)
      Called when a AX25Message is added to the history for a station in the tracker.
      Parameters:
      ss - StationState containing the station's information
      index - zero-based index of the message added to the StationState object
      msg - APRS Message object being added to the tracker; note that non-APRS packets that can still be decoded (such as OpenTRAC) will also be passed here; AX25Frames that cannot be decoded will pass null here
    • messageDeleted

      void messageDeleted(StationState ss, int index, AX25Message msg)
      Called when a AX25Message is deleted from the history for a station in the tracker.
      Parameters:
      ss - StationState containing the station's information; the AX25Message will already be removed from the StationState object
      index - zero-based index of the message removed from the StationState object
      msg - APRS Message object being removed from the tracker; note that non-APRS packets that can still be decoded (such as OpenTRAC) will also be passed here; AX25Frames that cannot be decoded will pass null here