com.supermap.mapping
Class LayerRemovedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.supermap.mapping.LayerEvent
-
- com.supermap.mapping.LayerRemovedEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class LayerRemovedEvent extends LayerEvent
The LayerRemovedEvent class.This event is fired when the layer is deleted.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description LayerRemovedEvent(java.lang.Object source, Layer layer, java.lang.String name, int index)Initializes a new instance of the LayerRemovedEvent class with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetIndex()Returns the index of the layer to be removed.java.lang.StringgetName()Returns the name of the removed layer.-
Methods inherited from class com.supermap.mapping.LayerEvent
getLayer
-
-
-
-
Constructor Detail
-
LayerRemovedEvent
public LayerRemovedEvent(java.lang.Object source, Layer layer, java.lang.String name, int index)Initializes a new instance of the LayerRemovedEvent class with the specified parameters.- Parameters:
source- The object that initiated the event.layer- layer collection object.name- Specifies the name of the removed layer.index- Specifies the serial number of the removed layer.
-
-