com.supermap.web.iServerJava6R.serviceEvents
public class GetFeaturesEvent
继承 GetFeaturesEvent Inheritance ServiceEvent Inheritance flash.events.Event

数据集查找服务事件类.

当数据集查询(如GetFeaturesBySQLService、GetFeaturesByIDsService等)成功时即会派发 GetFeaturesEvent 对象。只有一种类型的事件:GetFeaturesEvent.PROCESS_COMPLETE。
通过该类用户可获取从服务端返回的原始结果(originResult,继承自 ServiceEvent),以及可在客户端显示的最终结果(GetFeaturesResult)。

另请参见

com.supermap.web.iServerJava6R.dataServices.GetFeaturesResult


公共属性
  属性 定义方
  Inherited originResult : Object
[read-only] 从服务端返回的原始结果数据。
ServiceEvent
    result : GetFeaturesResult
[read-only] 数据集查找结果信息,GetFeaturesResult 对象。通过该类能够获取可在客户端直接显示分析结果数据。
GetFeaturesEvent
公共方法
  方法 定义方
   
GetFeaturesEvent(type:String, result:GetFeaturesResult, originResult:Object)
初始化 GetFeaturesEvent 类的新实例。
GetFeaturesEvent
公共常量
  常量 定义方
    PROCESS_COMPLETE : String = processComplete
[static] 定义 GetFeaturesEvent.PROCESS_COMPLETE 事件的 type 属性值。
GetFeaturesEvent
属性详细信息
result 属性
result:GetFeaturesResult  [read-only]

数据集查找结果信息,GetFeaturesResult 对象。通过该类能够获取可在客户端直接显示分析结果数据。


Implementation
    public function get result():GetFeaturesResult
构造函数详细信息
GetFeaturesEvent () 构造函数
public function GetFeaturesEvent(type:String, result:GetFeaturesResult, originResult:Object)

初始化 GetFeaturesEvent 类的新实例。

参数
type:String — 事件类型。
 
result:GetFeaturesResult — 分析结果,GetFeaturesResult 对象。
 
originResult:Object — 从服务端返回的原始结果。
常量描述
PROCESS_COMPLETE 常量
public static const PROCESS_COMPLETE:String = processComplete

定义 GetFeaturesEvent.PROCESS_COMPLETE 事件的 type 属性值。