用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
com.adobe.gravity.binding 

ServiceBinder  - AS3 ADEP Client Component

com.adobe.gravity.binding
public class ServiceBinder
继承ServiceBinder Inheritance Object

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
运行时版本: AIR 1.1, Flash Player 9

The ServiceBinder class provides a convenience mechanism to bind service implementations to properties of an object.



公共属性
 属性由以下参数定义
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
公共方法
 方法由以下参数定义
  
Constructor.
ServiceBinder
  
bind(target:Object, property:String, serviceClass:Class, filter:IFilter = null):void
Bind a property of the target object to a service.
ServiceBinder
 Inherited
表示对象是否已经定义了指定的属性。
Object
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
  
Release all bindings created with this instance.
ServiceBinder
 Inherited
返回指定对象的原始值。
Object
构造函数详细信息

ServiceBinder

()构造函数
public function ServiceBinder(context:IBundleContext = null)

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
运行时版本: AIR 1.1, Flash Player 9

Constructor.

参数
context:IBundleContext (default = null) — The bundle context.
方法详细信息

bind

()方法
public function bind(target:Object, property:String, serviceClass:Class, filter:IFilter = null):void

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
运行时版本: AIR 1.1, Flash Player 9

Bind a property of the target object to a service. If there is no matching service, the property will be set to null.

参数

target:Object — The target object.
 
property:String — The property into which to inject the service.
 
serviceClass:Class — The service interface or class.
 
filter:IFilter (default = null) — A filter to refine the service query. Optional.

unbindAll

()方法 
public function unbindAll():void

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
运行时版本: AIR 1.1, Flash Player 9

Release all bindings created with this instance.





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。