com.supermap.ui

类 ActionCursorChangingEvent

  • 所有已实现的接口:
    Serializable


    public class ActionCursorChangingEvent
    extends EventObject
    指示光标更新的事件。

    需要更新光标时触发该事件。

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

      • ActionCursorChangingEvent

        public ActionCursorChangingEvent(Object source,
                                         Cursor currentCursor,
                                         Cursor followingCursor)
        根据指定的参数初始化 ActionCursorChangingEvent 类的新实例。
        参数:
        source - 发起事件的对象。
        currentCursor - 当前的光标。
        followingCursor - 紧跟着要使用的光标。
    • 方法详细资料

      • getCurrentCursor

        public Cursor getCurrentCursor()
        返回当前的光标。
        返回:
        当前的光标。
      • getFollowingCursor

        public Cursor getFollowingCursor()
        返回紧跟着要使用的光标,即执行完回调函数后要使用到的光标。
        返回:
        紧跟着要使用的光标。
      • setFollowingCursor

        public void setFollowingCursor(Cursor followingCursor)
        设置紧跟着要使用的光标,即执行完回调函数后要使用到的光标。
        参数:
        followingCursor - 紧跟着要使用的光标。

Copyright © 2021–2024 SuperMap. All rights reserved.