com.ontimize.util.gis.client.events
Class LayerChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ontimize.util.gis.client.events.LayerChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class LayerChangeEvent
extends java.util.EventObject

Event which indicates a gis layer description modification event.
This occurs when a layer description changes.

This event is passed to every LayerChangeListener registered on the gis
viewer using the addLayerChangeListener method.

See Also:
LayerChangeListener, IGisViewer, Serialized Form

Field Summary
(package private)  IGisLayer layer
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LayerChangeEvent(java.lang.Object source)
           
LayerChangeEvent(java.lang.Object source, IGisLayer layer)
           
 
Method Summary
 IGisLayer getLayer()
          Get the layer description that causes the event
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

layer

IGisLayer layer
Constructor Detail

LayerChangeEvent

public LayerChangeEvent(java.lang.Object source)

LayerChangeEvent

public LayerChangeEvent(java.lang.Object source,
                        IGisLayer layer)
Parameters:
source - Event source object
layer - Modified layer description
Method Detail

getLayer

public IGisLayer getLayer()
Get the layer description that causes the event

Returns:
Layer description