包 | com.adobe.mosaic.mxml |
类 | public class Service |
继承 | Service ![]() ![]() |
实现 | IMXMLObject |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
serviceNode
property.
相关 API 元素
com.adobe.mosaic.om.interfaces.IService
com.adobe.mosaic.om.interfaces.IShell
com.adobe.mosaic.mxml.ServerSession
com.adobe.mosaic.mxml.Application
com.adobe.mosaic.mxml.Catalog
com.adobe.mosaic.om.interfaces.IShell
com.adobe.mosaic.mxml.ServerSession
com.adobe.mosaic.mxml.Application
com.adobe.mosaic.mxml.Catalog
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | |
![]() |
将事件调度到事件流中。 | EventDispatcher | |
![]() |
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | |
![]() |
表示对象是否已经定义了指定的属性。 | Object | |
![]() |
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
表示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | |
![]() |
返回指定对象的字符串表示形式。 | Object | |
![]() |
返回指定对象的原始值。 | Object | |
![]() |
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
事件
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
![]() | [广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。 | EventDispatcher | ||
![]() | [广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。 | EventDispatcher |
属性详细信息
构造函数详细信息
方法详细信息
事件详细信息
示例 如何使用本示例
This example demonstrates the component declaration for Service, first showing the declarations for
the ServerSession, Application, and Catalog components.
<fx:Declarations> <mosaic:ServerSession id="myServer" openSessionEventSuccess="myServer_connectedHandler(event)" openSessionEventFailure="myServer_faultHandler(event)" url="{_serverUrl}" /> <mosaic:Application id="myApp" loadApplicationEventSuccess="myApp_loadApplicationEventSuccessHandler(event)" loadApplicationEventFailure="myApp_loadApplicationEventFailureHandler(event)"> <mosaic:catalogs> <mosaic:Catalog id="sampleCatalog" name="sample_catalog" catalogLoadEventSuccess="myCatalogSuccess(event)" catalogLoadEventFailure="myCatalogFail(event)" serverSession="{myServer}"/> </mosaic:catalogs> </mosaic:Application> <mosaic:Service id="myService" catalog="{sampleCatalog}" shell="{myApp.shell}" library="MyDataService-Weather" name="WeatherService"/> </fx:Declarations>
Tue Jun 12 2018, 11:04 AM Z