套件 | 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, 03:47 PM Z