examples.cityguide
Interface MapListener

All Known Implementing Classes:
MapCanvas

public interface MapListener

An interface which allows receiving notifications from a CityMap instance.


Method Summary
 void landmarksChanged(CityMap sender)
          Called when the whole set of map landmarks changes.
 void landmarkStateChanged(CityMap sender, MapLandmark mapLandmark)
          Called when the state of a landmark changes.
 void visitorPositionChanged(CityMap sender)
          Called when the position of the map visitor changes.
 void visitorStateChanged(CityMap sender)
          Called when the state of the map visitor changes.
 

Method Detail

visitorPositionChanged

void visitorPositionChanged(CityMap sender)
Called when the position of the map visitor changes.


visitorStateChanged

void visitorStateChanged(CityMap sender)
Called when the state of the map visitor changes.


landmarkStateChanged

void landmarkStateChanged(CityMap sender,
                          MapLandmark mapLandmark)
Called when the state of a landmark changes.


landmarksChanged

void landmarksChanged(CityMap sender)
Called when the whole set of map landmarks changes.