public interface LayerListener
Modifier and Type | Method and Description |
---|---|
void |
handleLayerDataChanged(Layer layer,
Rectangle2D modelRegion)
Called if the data of the given layer has changed.
|
void |
handleLayerPropertyChanged(Layer layer,
PropertyChangeEvent event)
Called if a property of the given layer has changed.
|
void |
handleLayersAdded(Layer parentLayer,
Layer[] childLayers)
Called if a new layer has been added to a collection layer.
|
void |
handleLayersRemoved(Layer parentLayer,
Layer[] childLayers)
Called if an existing layer has been removed from a collection layer.
|
void handleLayerPropertyChanged(Layer layer, PropertyChangeEvent event)
Layer.getConfiguration()
).layer
- The layer which triggered the change.event
- The layer property change event.void handleLayerDataChanged(Layer layer, Rectangle2D modelRegion)
layer
- The layer which triggered the change.modelRegion
- The region in model coordinates which are affected by the change. May be null, if not available.void handleLayersAdded(Layer parentLayer, Layer[] childLayers)
parentLayer
- The parent layer which triggered the change.childLayers
- The child layers added.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.