Package | com.adobe.icomm.assetplacement.model |
Class | public class NavigatorHostInstance |
Inheritance | NavigatorHostInstance Object |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | 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... } } }
Related API Elements
com.adobe.portfolio.api.INavigator
com.adobe.portfolio.api.INavigatorHost
com.adobe.portfolio.api.INavigatorHost
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
value : INavigatorHost [static] [read-only]
Access the single INavigatorHost for the application. | NavigatorHostInstance |
Public Methods
Method | Defined By | ||
---|---|---|---|
Indicates whether an object has a specified property defined. | Object | ||
initialize(val:INavigatorHost):void [static]
Store the single INavigatorHost for the application
This should be called during the handshaking between the host
and the navigator. | NavigatorHostInstance | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
[static]
Called during application shutdown to release the navigator host for this application. | NavigatorHostInstance | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
value | property |
value:INavigatorHost
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Access the single INavigatorHost for the application.
Implementation
public static function get value():INavigatorHost
Method Detail
initialize | () | method |
public static function initialize(val:INavigatorHost):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | 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.
Parameters
val:INavigatorHost |
release | () | method |
public static function release():void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Placement Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called during application shutdown to release the navigator host for this application.
Mon Nov 28 2011, 06:48 AM -08:00