org.geotools.map.event
Interface MapLayerListener

All Superinterfaces:
EventListener

public interface MapLayerListener
extends EventListener

The listener that's notified when some layer property changes.

Author:
Andrea Aime
See Also:
MapLayer, MapLayerEvent

Method Summary
 void layerChanged(MapLayerEvent event)
          Invoked when some property of this layer has changed.
 void layerDeselected(MapLayerEvent event)
          Invoked when the component has been set as not selected.
 void layerHidden(MapLayerEvent event)
          nvoked when the component has been made invisible.
 void layerPreDispose(MapLayerEvent event)
          Invoked when the layer is scheduled for disposal to give listeners the chance to finish or cancel any tasks involving the layer.
 void layerSelected(MapLayerEvent event)
          Invoked when the component has been set as selected.
 void layerShown(MapLayerEvent event)
          Invoked when the component has been made visible.
 

Method Detail

layerChanged

void layerChanged(MapLayerEvent event)
Invoked when some property of this layer has changed. May be data, style, title, visibility.

Parameters:
event - encapsulating the event information

layerShown

void layerShown(MapLayerEvent event)
Invoked when the component has been made visible.

Parameters:
event - encapsulating the event information

layerHidden

void layerHidden(MapLayerEvent event)
nvoked when the component has been made invisible.

Parameters:
event - encapsulating the event information

layerSelected

void layerSelected(MapLayerEvent event)
Invoked when the component has been set as selected.

Parameters:
event - encapsulating the event information

layerDeselected

void layerDeselected(MapLayerEvent event)
Invoked when the component has been set as not selected.

Parameters:
event - encapsulating the event information

layerPreDispose

void layerPreDispose(MapLayerEvent event)
Invoked when the layer is scheduled for disposal to give listeners the chance to finish or cancel any tasks involving the layer.

Parameters:
event - encapsulating the event information


Copyright © 1996-2014 Geotools. All Rights Reserved.