包 | 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, 11:04 AM Z