com.supermap.ui
类 ActionCursorChangingEvent

java.lang.Object
  继承者 com.supermap.ui.ActionCursorChangingEvent

public class ActionCursorChangingEvent
extends java.lang.Object

指示光标更新的事件。

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


构造方法摘要
ActionCursorChangingEvent(java.lang.Object source, java.awt.Cursor currentCursor, java.awt.Cursor followingCursor)
          根据指定的参数初始化 ActionCursorChangingEvent 类的新实例。
 
方法摘要
 java.awt.Cursor getCurrentCursor()
          返回当前的光标。
 java.awt.Cursor getFollowingCursor()
          返回紧跟着要使用的光标,即执行完回调函数后要使用到的光标。
 void setFollowingCursor(java.awt.Cursor cursor)
          设置紧跟着要使用的光标,即执行完回调函数后要使用到的光标。
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ActionCursorChangingEvent

public ActionCursorChangingEvent(java.lang.Object source,
                                 java.awt.Cursor currentCursor,
                                 java.awt.Cursor followingCursor)
根据指定的参数初始化 ActionCursorChangingEvent 类的新实例。

参数:
source - 发起事件的对象。
currentCursor - 当前的光标。
followingCursor - 紧跟着要使用的光标。
方法详细信息

getCurrentCursor

public java.awt.Cursor getCurrentCursor()
返回当前的光标。

返回:
当前的光标。

getFollowingCursor

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

返回:
紧跟着要使用的光标。

setFollowingCursor

public void setFollowingCursor(java.awt.Cursor cursor)
设置紧跟着要使用的光标,即执行完回调函数后要使用到的光标。

参数:
cursor - 紧跟着要使用的光标。