com.supermap.mapping

类 LayerGroupRemovingEvent

  • 所有已实现的接口:
    Serializable


    public class LayerGroupRemovingEvent
    extends EventObject
    指示从分组图层移除图层结束的事件。

    从分组图层移除图层结束时调用该方法。

    另请参阅:
    序列化表格
    • 构造器详细资料

      • LayerGroupRemovingEvent

        public LayerGroupRemovingEvent(Object source,
                                       LayerGroup removingGroup,
                                       LayerGroup parentGroup,
                                       int index)
        根据给定的参数,构造一个新的LayerGroupRemovingEvent对象。
        参数:
        source - 发起事件的对象。
        removingGroup - 要移除的分组图层。
        parentGroup - 要移除的分组图层的上一级分组图层,即其所属的分组图层。
        index - 要移除的分组图层的索引值。
    • 方法详细资料

      • getRemovingGroup

        public LayerGroup getRemovingGroup()
        返回要移除的分组图层。
        返回:
        返回要移除的分组图层。
      • getParentGroup

        public LayerGroup getParentGroup()
        返回要移除的分组图层的上一级分组图层,即其所属的分组图层。
        返回:
        返回要移除的分组图层的上一级分组图层,即其所属的分组图层。
      • getIndex

        public int getIndex()
        返回要移除的分组图层的索引值。
        返回:
        返回要移除的分组图层的索引值。

Copyright © 2021–2025 SuperMap. All rights reserved.