public class MapContext.LayerEventListener extends BaseLayerCollectionListener
The class LayerEventListener implements the methods of
LayerCollectionListener that handles the
"layer added" or "layer removed" events in a map.
Is designed as a listener for all layers in a
MapContext.
| Constructor and Description |
|---|
LayerEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
layerAdded(LayerCollectionEvent e)
Called when a layer has been added or replaced in the internal list of layers.
|
void |
layerRemoved(LayerCollectionEvent e)
Called when a layer has been removed from the internal list of layers.
|
layerAdding, layerMoved, layerMoving, layerRemoving, visibilityChangedpublic void layerAdded(LayerCollectionEvent e)
LayerCollectionListenerCalled when a layer has been added or replaced in the internal list of layers.
layerAdded in interface LayerCollectionListenerlayerAdded in class BaseLayerCollectionListenere - a layer collection event objectpublic void layerRemoved(LayerCollectionEvent e)
LayerCollectionListenerCalled when a layer has been removed from the internal list of layers.
layerRemoved in interface LayerCollectionListenerlayerRemoved in class BaseLayerCollectionListenere - a layer collection event object