Interface CStationContainerListener


public interface CStationContainerListener
This listener is added to a CStationContainer and receives an event if either CStations are added or removed from the container.
Author:
Benjamin Sigg
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    added(CStationContainer source, CStation<?> station)
    Called after station has been added to source.
    void
    removed(CStationContainer source, CStation<?> station)
    Called after station has been removed from source.
  • Method Details

    • added

      void added(CStationContainer source, CStation<?> station)
      Called after station has been added to source.
      Parameters:
      source - the source of the event
      station - the newly added station
    • removed

      void removed(CStationContainer source, CStation<?> station)
      Called after station has been removed from source.
      Parameters:
      source - the source of the event
      station - the station that was removed