包 | com.adobe.gravity.binding |
类 | public class ServiceBinder |
继承 | ServiceBinder Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
运行时版本: | AIR 1.1, Flash Player 9 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
ServiceBinder(context:IBundleContext = null)
Constructor. | ServiceBinder | ||
Bind a property of the target object to a service. | ServiceBinder | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
Release all bindings created with this instance. | ServiceBinder | ||
返回指定对象的原始值。 | 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.
Tue Jun 12 2018, 11:04 AM Z