| 包 | com.supermap.web.events |
| 类 | public class ActionEvent |
| 继承 | ActionEvent flash.events.Event |
该类可以获取对地图控件的前一次和最新一次操作。
| 属性 | 定义方 | ||
|---|---|---|---|
| newAction : MapAction
[read-only] 获取对地图控件的最新一次操作。
|
ActionEvent | ||
| oldAction : MapAction
[read-only] 获取对地图控件的前一次操作。
|
ActionEvent | ||
| 方法 | 定义方 | ||
|---|---|---|---|
|
初始化 ActionEvent 类的新实例。
|
ActionEvent | ||
| 常量 | 定义方 | ||
|---|---|---|---|
| ACTION_CHANGED : String = actionChanged
[static] 定义操作改变事件的 type 属性值。
|
ActionEvent | ||
| newAction | 属性 |
newAction:MapAction [read-only]
获取对地图控件的最新一次操作。
public function get newAction():MapAction| oldAction | 属性 |
oldAction:MapAction [read-only]
获取对地图控件的前一次操作。
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 属性值。