Package org.geotools.map
Class MapAdapter
- Object
- 
- MapAdapter
 
- 
- All Implemented Interfaces:
- EventListener,- MapBoundsListener,- MapLayerListListener
 
 public abstract class MapAdapter extends Object implements MapBoundsListener, MapLayerListListener An abstract adapter class to receive events about map bounds and layer changes. All of the methods are empty. This class exists as convenience for creating listener objects.- Since:
- 8.0
- Author:
- Michael Bedward
 
- 
- 
Constructor SummaryConstructors Constructor Description MapAdapter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlayerAdded(MapLayerListEvent event)Triggered when a new layer is added to the MapContextvoidlayerChanged(MapLayerListEvent event)Triggered when something in a layer changed (data, style, title)voidlayerMoved(MapLayerListEvent event)Triggered when a group of layers chenges position in the layer listvoidlayerPreDispose(MapLayerListEvent event)Triggered when a layer is about to be disposed.voidlayerRemoved(MapLayerListEvent event)Triggered when a layer is removed from the MapContextvoidmapBoundsChanged(MapBoundsEvent event)Invoked when the area of interest or the coordinate system changes.
 
- 
- 
- 
Method Detail- 
mapBoundsChangedpublic void mapBoundsChanged(MapBoundsEvent event) Description copied from interface:MapBoundsListenerInvoked when the area of interest or the coordinate system changes.- Specified by:
- mapBoundsChangedin interface- MapBoundsListener
- Parameters:
- event- The change event.
 
 - 
layerAddedpublic void layerAdded(MapLayerListEvent event) Description copied from interface:MapLayerListListenerTriggered when a new layer is added to the MapContext- Specified by:
- layerAddedin interface- MapLayerListListener
- Parameters:
- event- encapsulating the event information
 
 - 
layerRemovedpublic void layerRemoved(MapLayerListEvent event) Description copied from interface:MapLayerListListenerTriggered when a layer is removed from the MapContext- Specified by:
- layerRemovedin interface- MapLayerListListener
- Parameters:
- event- encapsulating the event information
 
 - 
layerChangedpublic void layerChanged(MapLayerListEvent event) Description copied from interface:MapLayerListListenerTriggered when something in a layer changed (data, style, title)- Specified by:
- layerChangedin interface- MapLayerListListener
- Parameters:
- event- encapsulating the event information
 
 - 
layerMovedpublic void layerMoved(MapLayerListEvent event) Description copied from interface:MapLayerListListenerTriggered when a group of layers chenges position in the layer list- Specified by:
- layerMovedin interface- MapLayerListListener
- Parameters:
- event- encapsulating the event information
 
 - 
layerPreDisposepublic void layerPreDispose(MapLayerListEvent event) Description copied from interface:MapLayerListListenerTriggered when a layer is about to be disposed.- Specified by:
- layerPreDisposein interface- MapLayerListListener
- Parameters:
- event- encapsulating the event information
 
 
- 
 
-