com.supermap.web.events
public class ActionEvent
继承 ActionEvent Inheritance flash.events.Event

地图操作事件类.

该类可以获取对地图控件的前一次和最新一次操作。



公共属性
  属性 定义方
    newAction : MapAction
[read-only] 获取对地图控件的最新一次操作。
ActionEvent
    oldAction : MapAction
[read-only] 获取对地图控件的前一次操作。
ActionEvent
公共方法
  方法 定义方
   
ActionEvent(type:String, oldAction:MapAction, newAction:MapAction)
初始化 ActionEvent 类的新实例。
ActionEvent
公共常量
  常量 定义方
    ACTION_CHANGED : String = actionChanged
[static] 定义操作改变事件的 type 属性值。
ActionEvent
属性详细信息
newAction 属性
newAction:MapAction  [read-only]

获取对地图控件的最新一次操作。


Implementation
    public function get newAction():MapAction
oldAction 属性  
oldAction:MapAction  [read-only]

获取对地图控件的前一次操作。


Implementation
    public function get oldAction():MapAction
构造函数详细信息
ActionEvent () 构造函数
public function ActionEvent(type:String, oldAction:MapAction, newAction:MapAction)

初始化 ActionEvent 类的新实例。

参数
type:String — 事件类型。
 
oldAction:MapAction — 对地图控件的前一次操作。
 
newAction:MapAction — 对地图控件的最新一次操作。
常量描述
ACTION_CHANGED 常量
public static const ACTION_CHANGED:String = actionChanged

定义操作改变事件的 type 属性值。