com.supermap.mobjects.situation

类 PlotLayerMovedEvent

  • 所有已实现的接口:
    Serializable


    public class PlotLayerMovedEvent
    extends PlotLayerEvent
    指示图元层、子图层或者标号移动结束的事件。

    在添加图元层集合中的图元层、子图层集合中子图层或者标号集合中的标号后触发该事件。

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

      • PlotLayerMovedEvent

        public PlotLayerMovedEvent(Object source,
                                   PlotLayer plotLayer,
                                   int srcIndex,
                                   int desIndex)
        根据指定的参数来构造一个 PlotLayerMovedEvent 的新对象。
        参数:
        source - 发起事件的对象。
        plotLayer - 要移动的图元层对象。
        srcIndex - 要移动的图元层对象的原始索引位置
        desIndex - 要移动的图元层对象的移动后的索引位置
      • PlotLayerMovedEvent

        public PlotLayerMovedEvent(Object source,
                                   ChildPlotLayer childPlotLayer,
                                   int srcIndex,
                                   int desIndex)
        根据指定的参数来构造一个 PlotLayerMovedEvent 的新对象。
        参数:
        source - 发起事件的对象。
        childPlotLayer - 要移动的子图层对象。
        srcIndex - 要移动的子图层对象的原始索引位置
        desIndex - 要移动的子图层对象的移动后的索引位置
      • PlotLayerMovedEvent

        public PlotLayerMovedEvent(Object source,
                                   PlotSymbol plotSymbol,
                                   int srcIndex,
                                   int desIndex)
        根据指定的参数来构造一个 PlotLayerMovedEvent 的新对象。
        参数:
        plotSymbol - 发起事件的对象。
        plotLayer - 要移动的标号对象。
        srcIndex - 要移动的标号对象的原始索引位置
        desIndex - 要移动的标号对象的移动后的索引位置
    • 方法详细资料

      • getSrcIndex

        public int getSrcIndex()
        返回移动前的索引位置。
        返回:
        移动前的索引位置。
      • getDesIndex

        public int getDesIndex()
        返回移动后的索引位置。
        返回:
        移动后的索引位置。

Copyright © 2021–2024 SuperMap. All rights reserved.