com.supermap.mapping
Class LayerAddedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.supermap.mapping.LayerEvent
-
- com.supermap.mapping.LayerAddedEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class LayerAddedEvent extends LayerEvent
The LayerAddedEvent event.This event is fired when a layer is added.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description LayerAddedEvent(java.lang.Object source, Layer layer)
Constructs an object of the LayerAddedEvent class according to specified parameters.LayerAddedEvent(java.lang.Object source, Layer layer, int index)
Constructs an object of the LayerAddedEvent class according to specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getIndex()
Gets layer index.-
Methods inherited from class com.supermap.mapping.LayerEvent
getLayer
-
-
-
-
Constructor Detail
-
LayerAddedEvent
public LayerAddedEvent(java.lang.Object source, Layer layer)
Constructs an object of the LayerAddedEvent class according to specified parameters.- Parameters:
source
- The object that initiated the event.layer
- Layer collection object.
-
LayerAddedEvent
public LayerAddedEvent(java.lang.Object source, Layer layer, int index)
Constructs an object of the LayerAddedEvent class according to specified parameters.- Parameters:
source
- The object that initiated the event.layer
- Layer collection object.index
- Layer index value.
-
-