Package org.geotools.map
Class MapAdapter
Object
MapAdapter
- All Implemented Interfaces:
EventListener
,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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
layerAdded
(MapLayerListEvent event) Triggered when a new layer is added to the MapContextvoid
layerChanged
(MapLayerListEvent event) Triggered when something in a layer changed (data, style, title)void
layerMoved
(MapLayerListEvent event) Triggered when a group of layers chenges position in the layer listvoid
layerPreDispose
(MapLayerListEvent event) Triggered when a layer is about to be disposed.void
layerRemoved
(MapLayerListEvent event) Triggered when a layer is removed from the MapContextvoid
mapBoundsChanged
(MapBoundsEvent event) Invoked when the area of interest or the coordinate system changes.
-
Constructor Details
-
MapAdapter
public MapAdapter()
-
-
Method Details
-
mapBoundsChanged
Description copied from interface:MapBoundsListener
Invoked when the area of interest or the coordinate system changes.- Specified by:
mapBoundsChanged
in interfaceMapBoundsListener
- Parameters:
event
- The change event.
-
layerAdded
Description copied from interface:MapLayerListListener
Triggered when a new layer is added to the MapContext- Specified by:
layerAdded
in interfaceMapLayerListListener
- Parameters:
event
- encapsulating the event information
-
layerRemoved
Description copied from interface:MapLayerListListener
Triggered when a layer is removed from the MapContext- Specified by:
layerRemoved
in interfaceMapLayerListListener
- Parameters:
event
- encapsulating the event information
-
layerChanged
Description copied from interface:MapLayerListListener
Triggered when something in a layer changed (data, style, title)- Specified by:
layerChanged
in interfaceMapLayerListListener
- Parameters:
event
- encapsulating the event information
-
layerMoved
Description copied from interface:MapLayerListListener
Triggered when a group of layers chenges position in the layer list- Specified by:
layerMoved
in interfaceMapLayerListListener
- Parameters:
event
- encapsulating the event information
-
layerPreDispose
Description copied from interface:MapLayerListListener
Triggered when a layer is about to be disposed.- Specified by:
layerPreDispose
in interfaceMapLayerListListener
- Parameters:
event
- encapsulating the event information
-