public interface LayerCollectionListener
LayerCollectionListener
defines listeners for events that can be produced in a
collection of layers.
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 |
layerAdding(LayerCollectionEvent e)
Called when a layer is just going to be added or replaced in the internal list of layers.
|
void |
layerMoved(LayerPositionEvent e)
Called when a layer has been moved in the internal list of layers.
|
void |
layerMoving(LayerPositionEvent e)
Called when a layer is just going to be moved in the internal list of layers.
|
void |
layerRemoved(LayerCollectionEvent e)
Called when a layer has been removed from the internal list of layers.
|
void |
layerRemoving(LayerCollectionEvent e)
Called when a layer is just going to be removed from the internal list of layers.
|
void |
visibilityChanged(LayerCollectionEvent e)
Called when the visibility of the collection of layers has changed.
|
void layerAdded(LayerCollectionEvent e)
Called when a layer has been added or replaced in the internal list of layers.
e
- a layer collection event objectvoid layerMoved(LayerPositionEvent e)
Called when a layer has been moved in the internal list of layers.
e
- a layer collection event objectvoid layerRemoved(LayerCollectionEvent e)
Called when a layer has been removed from the internal list of layers.
e
- a layer collection event objectvoid layerAdding(LayerCollectionEvent e) throws CancelationException
Called when a layer is just going to be added or replaced in the internal list of layers.
e
- a layer collection event objectCancelationException
- if cancels the adding operation, this exception will have the message
that user will see.void layerMoving(LayerPositionEvent e) throws CancelationException
Called when a layer is just going to be moved in the internal list of layers.
e
- a layer collection event objectCancelationException
- if cancels the moving operation, this exception will have the message
that user will see.void layerRemoving(LayerCollectionEvent e) throws CancelationException
Called when a layer is just going to be removed from the internal list of layers.
e
- a layer collection event objectCancelationException
- if cancels the removing operation, this exception will have the message
that user will see.void visibilityChanged(LayerCollectionEvent e) throws CancelationException
Called when the visibility of the collection of layers has changed.
e
- a layer collection event objectCancelationException
- if cancels the operation of change visibility, this exception will have the
message that user will see.