| 包 | com.supermap.web.iServerJava6R.serviceEvents |
| 类 | public class ComputeWeightMatrixEvent |
| 继承 | ComputeWeightMatrixEvent ServiceEvent flash.events.Event |
当耗费矩阵分析(ComputeWeightMatrixService)成功时即会派发 ComputeWeightMatrixEvent 对象。只有一种类型的事件:ComputeWeightMatrixEvent.PROCESS_COMPLETE。
通过该类用户可获取从服务端返回的原始结果(originResult,继承自 ServiceEvent),以及可在客户端显示的最终结果(ComputeWeightMatrixResult)。
另请参见
| 属性 | 定义方 | ||
|---|---|---|---|
![]() |
originResult : Object
[read-only] 从服务端返回的原始结果数据。
|
ServiceEvent | |
| result : ComputeWeightMatrixResult
[read-only] 耗费矩阵分析结果信息, ComputeWeightMatrixResult 对象。通过该类能够获取可在客户端直接显示分析结果数据。
|
ComputeWeightMatrixEvent | ||
| 方法 | 定义方 | ||
|---|---|---|---|
|
ComputeWeightMatrixEvent(type:String, result:ComputeWeightMatrixResult, originResult:Object)
初始化 ComputeWeightMatrixEvent 类的新实例。
|
ComputeWeightMatrixEvent | ||
| 常量 | 定义方 | ||
|---|---|---|---|
| PROCESS_COMPLETE : String = processComplete
[static] 定义 ComputeWeightMatrixEvent.PROCESS_COMPLETE 事件的 type 属性值。
|
ComputeWeightMatrixEvent | ||
| result | 属性 |
result:ComputeWeightMatrixResult [read-only]
耗费矩阵分析结果信息, ComputeWeightMatrixResult 对象。通过该类能够获取可在客户端直接显示分析结果数据。
public function get result():ComputeWeightMatrixResult| ComputeWeightMatrixEvent | () | 构造函数 |
public function ComputeWeightMatrixEvent(type:String, result:ComputeWeightMatrixResult, originResult:Object)
初始化 ComputeWeightMatrixEvent 类的新实例。
参数type:String — 事件类型。 |
|
result:ComputeWeightMatrixResult — 分析结果,ComputeWeightMatrixResult 对象。 |
|
originResult:Object — 从服务端返回的原始结果。 |
| PROCESS_COMPLETE | 常量 |
public static const PROCESS_COMPLETE:String = processComplete
定义 ComputeWeightMatrixEvent.PROCESS_COMPLETE 事件的 type 属性值。