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