com.supermap.mapping

Class LayerGroupAddedEvent

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


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

    This method is called when the add grouping layer ends.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      LayerGroupAddedEvent(java.lang.Object source, LayerGroup addedGroup, LayerGroup parentGroup, 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
      LayerGroup getAddedGroup()
      Returns the added group layer and the group layer it belongs to.
      int getIndex()
      Returns the index of the added group layer.
      LayerGroup getParentGroup()
      Returns the upper group layer of the added group layer and the group layer it belongs to.
      • 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

      • LayerGroupAddedEvent

        public LayerGroupAddedEvent(java.lang.Object source,
                                    LayerGroup addedGroup,
                                    LayerGroup parentGroup,
                                    int index)
        Constructs an object of the LayerAddedEvent class according to specified parameters.
        Parameters:
        source - The object that initiated the event.
        addedGroup - added grouping layer.
        parentGroup - Adds the parent group layer of the grouping layer.
        index - The index value of the grouping layer to be added.
    • Method Detail

      • getAddedGroup

        public LayerGroup getAddedGroup()
        Returns the added group layer and the group layer it belongs to.
        Returns:
        returns the added grouping layer, that is, the grouping layer to which it belongs.
      • getParentGroup

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

        public int getIndex()
        Returns the index of the added group layer.
        Returns:
        Returns the index value of the added grouping layer.