| 套件 | com.adobe.fiber.services.wrapper |
| 類別 | public class AbstractServiceWrapper |
| 繼承 | AbstractServiceWrapper EventDispatcher Object |
| 實作 | IMXMLObject |
| 子類別 | HTTPServiceWrapper, ManagedRemoteServiceWrapper, RemoteObjectServiceWrapper, WebServiceWrapper |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
公用屬性
| 屬性 | 定義自 | ||
|---|---|---|---|
| channelSet : ChannelSet
Channel set of the wrapped service. | AbstractServiceWrapper | ||
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| destination : String
Destination of the wrapped service. | AbstractServiceWrapper | ||
| operations : Object
Operations of the wrapped service. | AbstractServiceWrapper | ||
| serviceControl : AbstractService [唯讀]
The wrapped service. | AbstractServiceWrapper | ||
| showBusyCursor : Boolean
The showBusyCursor property of the wrapped service. | AbstractServiceWrapper | ||
公用方法
| 方法 | 定義自 | ||
|---|---|---|---|
AbstractServiceWrapper(target:IEventDispatcher = null)
Constructor. | AbstractServiceWrapper | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | |
![]() |
會將事件傳送到事件流程。 | EventDispatcher | |
![]() |
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | |
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
Called after the implementing object has been created and all
component properties specified on the MXML tag have been initialized. | AbstractServiceWrapper | ||
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
![]() |
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher | |
事件
| 事件 | 摘要 | 定義自 | ||
|---|---|---|---|---|
![]() | [廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | ||
![]() | [廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | ||
| Fault events of wrapped services are propagated by the wrapper. | AbstractServiceWrapper | |||
| Result events of wrapped services are propagated by the wrapper. | AbstractServiceWrapper | |||
屬性詳細資訊
channelSet | 屬性 |
channelSet:ChannelSet| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Channel set of the wrapped service.
實作
public function get channelSet():ChannelSet public function set channelSet(value:ChannelSet):void相關 API 元素
destination | 屬性 |
operations | 屬性 |
serviceControl | 屬性 |
serviceControl:AbstractService [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
The wrapped service. The service is implemented by service-specific subclasses.
實作
public function get serviceControl():AbstractServiceshowBusyCursor | 屬性 |
建構函式詳細資料
AbstractServiceWrapper | () | 建構函式 |
public function AbstractServiceWrapper(target:IEventDispatcher = null)| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數target:IEventDispatcher (default = null) — The target object for dispatched events.
|
方法詳細資訊
initialized | () | 方法 |
public function initialized(document:Object, id:String):void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
參數
document:Object — The MXML document that created this object.
| |
id:String — The identifier used by document to refer
to this object.
If the object is a deep property on document,
id is null.
|
事件詳細資訊
fault | 事件 |
事件物件類型:
屬性 FaultEvent.type =
mx.rpc.events.FaultEvent屬性 FaultEvent.type =
mx.rpc.events.FaultEvent.FAULT| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Fault events of wrapped services are propagated by the wrapper.
The FAULT event type.The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | true, calling preventDefault() from the associated token's responder.fault method will prevent the service or operation from dispatching this event |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
fault | The Fault object that contains the details of what caused this event. |
message | The Message associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
token | The token that represents the call to the method. Used in the asynchronous completion token pattern. |
result | 事件 |
事件物件類型:
屬性 ResultEvent.type =
mx.rpc.events.ResultEvent屬性 ResultEvent.type =
mx.rpc.events.ResultEvent.RESULT| 語言版本: | ActionScript 3.0 |
| 產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Result events of wrapped services are propagated by the wrapper.
The RESULT event type.The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | true, preventDefault() from the associated token's responder.result method will prevent the service or operation from dispatching this event |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
message | The Message associated with this event. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
result | Result that the RPC call returns. |
token | The token that represents the indiviudal call to the method. Used in the asynchronous completion token pattern. |
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性