com.supermap.mobjects.situation

类 PlotLayerRemovingEvent

  • 所有已实现的接口:
    Serializable


    public class PlotLayerRemovingEvent
    extends PlotLayerEvent
    指示图元层、子图层或者标号移除之前的事件。

    在移除图元层集合中的图元层、子图层集合中子图层或者标号集合中的标号前触发该事件。

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

      • PlotLayerRemovingEvent

        public PlotLayerRemovingEvent(Object source,
                                      PlotLayer plotLayer)
        根据指定的参数来构造一个 PlotLayerRemovingEvent 的新对象。
        参数:
        source - 发起事件的对象。
        plotLayer - 要移除的图元层对象。
      • PlotLayerRemovingEvent

        public PlotLayerRemovingEvent(Object source,
                                      PlotLayer plotLayer,
                                      int index)
        根据指定的参数来构造一个 PlotLayerRemovingEvent 的新对象。
        参数:
        source - 发起事件的对象。
        plotLayer - 要移除的图元层对象。
        index - 要移除的图元层在图元层集合中的索引
      • PlotLayerRemovingEvent

        public PlotLayerRemovingEvent(Object source,
                                      ChildPlotLayer childPlotLayer)
        根据指定的参数来构造一个 PlotLayerRemovingEvent 的新对象。
        参数:
        source - 发起事件的对象。
        childPlotLayer - 要移除的子图层对象。
      • PlotLayerRemovingEvent

        public PlotLayerRemovingEvent(Object source,
                                      ChildPlotLayer childPlotLayer,
                                      int index)
        根据指定的参数来构造一个 PlotLayerRemovingEvent 的新对象。
        参数:
        source - 发起事件的对象。
        childPlotLayer - 要移除的子图层对象。
        index - 要移除的子图层在子图层集合中的索引
      • PlotLayerRemovingEvent

        public PlotLayerRemovingEvent(Object source,
                                      PlotSymbol plotSymbol)
        根据指定的参数来构造一个 PlotLayerRemovingEvent 的新对象。
        参数:
        source - 发起事件的对象。
        plotSymbol - 要移除的标号对象。
      • PlotLayerRemovingEvent

        public PlotLayerRemovingEvent(Object source,
                                      PlotSymbol plotSymbol,
                                      int index)
        根据指定的参数来构造一个 PlotLayerRemovingEvent 的新对象。
        参数:
        source - 发起事件的对象。
        plotSymbol - 指定的标号对象。
        index - 要移除的标号在标号集合中的索引
    • 方法详细资料

      • getIndex

        public int getIndex()
        返回图元层在图元层集合、子图层在子图层集合或者标号在标号集合中的索引。
        返回:
        索引。

Copyright © 2021–2024 SuperMap. All rights reserved.