com.supermap.mapping

Class LayerGroupRemovedEvent

  • java.lang.Object
    • java.util.EventObject
      • com.supermap.mapping.LayerGroupRemovedEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class LayerGroupRemovedEvent
    extends java.util.EventObject
    Indicates the event of LayerGroupRemovedEvent.

    This method is called when the removal of the grouping layer ends.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      LayerGroupRemovedEvent(java.lang.Object source, LayerGroup removedGroup, LayerGroup parentGroup, int index)
      Constructs a new LayerGroupRemovedEvent object according to given parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getIndex()
      Returns the index of the removed group layer.
      LayerGroup getParentGroup()
      Returns the upper group layer of the removed group layer and the group layer it belongs to.
      LayerGroup getRemovedGroup()
      Returns the group layer to remove
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LayerGroupRemovedEvent

        public LayerGroupRemovedEvent(java.lang.Object source,
                                      LayerGroup removedGroup,
                                      LayerGroup parentGroup,
                                      int index)
        Constructs a new LayerGroupRemovedEvent object according to given parameters.
        Parameters:
        source - The object that initiated the event.
        removedGroup - The grouping layer to remove.
        parentGroup - The parent group layer of the grouping layer to be removed, that is, the grouping layer to which it belongs.
        index - The index value of the grouping layer to be removed.
    • Method Detail

      • getRemovedGroup

        public LayerGroup getRemovedGroup()
        Returns the group layer to remove
        Returns:
        The grouping layer to remove.
      • getParentGroup

        public LayerGroup getParentGroup()
        Returns the upper group layer of the removed group layer and the group layer it belongs to.
        Returns:
        Returns the parent group layer of the grouping layer to be removed, that is, the grouping layer to which it belongs.
      • getIndex

        public int getIndex()
        Returns the index of the removed group layer.
        Returns:
        Returns the index value of the grouping layer to be removed.