public abstract class MapAdapter extends Object implements MapBoundsListener, MapLayerListListener
Constructor and Description |
---|
MapAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
layerAdded(MapLayerListEvent event)
Triggered when a new layer is added to the MapContext
|
void |
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 list
|
void |
layerPreDispose(MapLayerListEvent event)
Triggered when a layer is about to be disposed.
|
void |
layerRemoved(MapLayerListEvent event)
Triggered when a layer is removed from the MapContext
|
void |
mapBoundsChanged(MapBoundsEvent event)
Invoked when the area of interest or the coordinate system changes.
|
public void mapBoundsChanged(MapBoundsEvent event)
MapBoundsListener
mapBoundsChanged
in interface MapBoundsListener
event
- The change event.public void layerAdded(MapLayerListEvent event)
MapLayerListListener
layerAdded
in interface MapLayerListListener
event
- encapsulating the event informationpublic void layerRemoved(MapLayerListEvent event)
MapLayerListListener
layerRemoved
in interface MapLayerListListener
event
- encapsulating the event informationpublic void layerChanged(MapLayerListEvent event)
MapLayerListListener
layerChanged
in interface MapLayerListListener
event
- encapsulating the event informationpublic void layerMoved(MapLayerListEvent event)
MapLayerListListener
layerMoved
in interface MapLayerListListener
event
- encapsulating the event informationpublic void layerPreDispose(MapLayerListEvent event)
MapLayerListListener
layerPreDispose
in interface MapLayerListListener
event
- encapsulating the event informationCopyright © 1996–2019 Geotools. All rights reserved.