public class LayerCollectionAdapter extends java.lang.Object implements LayerCollectionListener
Constructor and Description |
---|
LayerCollectionAdapter() |
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.
|
public void layerAdded(LayerCollectionEvent e)
LayerCollectionListener
Called when a layer has been added or replaced in the internal list of layers.
layerAdded
in interface LayerCollectionListener
e
- a layer collection event objectpublic void layerMoved(LayerPositionEvent e)
LayerCollectionListener
Called when a layer has been moved in the internal list of layers.
layerMoved
in interface LayerCollectionListener
e
- a layer collection event objectpublic void layerRemoved(LayerCollectionEvent e)
LayerCollectionListener
Called when a layer has been removed from the internal list of layers.
layerRemoved
in interface LayerCollectionListener
e
- a layer collection event objectpublic void layerAdding(LayerCollectionEvent e) throws CancelationException
LayerCollectionListener
Called when a layer is just going to be added or replaced in the internal list of layers.
layerAdding
in interface LayerCollectionListener
e
- a layer collection event objectCancelationException
- if cancels the adding operation, this exception will have the message
that user will see.public void layerMoving(LayerPositionEvent e) throws CancelationException
LayerCollectionListener
Called when a layer is just going to be moved in the internal list of layers.
layerMoving
in interface LayerCollectionListener
e
- a layer collection event objectCancelationException
- if cancels the moving operation, this exception will have the message
that user will see.public void layerRemoving(LayerCollectionEvent e) throws CancelationException
LayerCollectionListener
Called when a layer is just going to be removed from the internal list of layers.
layerRemoving
in interface LayerCollectionListener
e
- a layer collection event objectCancelationException
- if cancels the removing operation, this exception will have the message
that user will see.public void visibilityChanged(LayerCollectionEvent e) throws CancelationException
LayerCollectionListener
Called when the visibility of the collection of layers has changed.
visibilityChanged
in interface LayerCollectionListener
e
- a layer collection event objectCancelationException
- if cancels the operation of change visibility, this exception will have the
message that user will see.