套件 | com.adobe.icomm.assetplacement.model |
類別 | public class NavigatorHostInstance |
繼承 | NavigatorHostInstance Object |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Placement Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
class MyNavigator extends Application, implements INavigator { import com.adobe.portfolio.api.INavigator; public function set host(val:INavigatorHost):void { if(val) { NavigatorHostInstance.initialize(val); //Other initialization... } else { NavigatorHostInstance.release(); //Other cleanup code... } } }
相關 API 元素
com.adobe.portfolio.api.INavigator
com.adobe.portfolio.api.INavigatorHost
com.adobe.portfolio.api.INavigatorHost
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
value : INavigatorHost [靜態] [唯讀]
Access the single INavigatorHost for the application. | NavigatorHostInstance |
公用方法
方法 | 定義自 | ||
---|---|---|---|
指出物件是否有已定義的指定屬性。 | Object | ||
initialize(val:INavigatorHost):void [靜態]
Store the single INavigatorHost for the application
This should be called during the handshaking between the host
and the navigator. | NavigatorHostInstance | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
[靜態]
Called during application shutdown to release the navigator host for this application. | NavigatorHostInstance | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
屬性詳細資訊
value | 屬性 |
value:INavigatorHost
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Asset Placement Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Access the single INavigatorHost for the application.
實作
public static function get value():INavigatorHost
方法詳細資訊
initialize | () | 方法 |
public static function initialize(val:INavigatorHost):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Placement Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Store the single INavigatorHost for the application This should be called during the handshaking between the host and the navigator. Failure to do so means objects in the library will not have access to it.
參數
val:INavigatorHost |
release | () | 方法 |
public static function release():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Placement Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called during application shutdown to release the navigator host for this application.
Tue Jun 12 2018, 03:47 PM Z