twaver.gis.event
Interface MapListener

All Known Implementing Classes:
StatusBar

public interface MapListener

The listener interface for receiving "interesting" map events of a map.

The class that is interested in processing a map event implements this interface. The listener object created from that class is then registered with a GeographyMap using the GeographyMap's addMapListener method and removed by using removeMapListener method. A map event is generated when some property of the map is changed. For example: After a map is drawn, a map event is fired with the event type is MAP_DRAWN. A map event should has a correct type, and it may be one of the followings:

See Also:
MapEvent.MAP_DRAWN, MapEvent.MAP_VIEWPORT_CHANGED, MapEvent.MAP_WINDOW_CHANGED, MapEvent.MAP_SCALE_CHANGED, MapEvent.MAP_SELECTEDFEATURE_CHANGED, MapEvent.MAP_QUERYLAYER_CHANGED

Method Summary
 void mapChanged(MapEvent evt)
          Invoked when a map event is fired by a map.
 

Method Detail

mapChanged

public void mapChanged(MapEvent evt)
Invoked when a map event is fired by a map.

Parameters:
evt - a MapEvent object.