| Package | com.adobe.icc.editors.handlers |
| Class | public class BaseAssetHandler |
| Inheritance | BaseAssetHandler EventDispatcher Object |
| Implements | IAssetHandler |
| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
| Property | Defined By | ||
|---|---|---|---|
| assetActions : IList
The list of AssetAction objects maintained by this handler. | BaseAssetHandler | ||
| assetType : String
The type of asset being handled by this handler. | BaseAssetHandler | ||
![]() | 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 | |
| selectedAssets : Array
The array of text value objects currently selected by the user. | BaseAssetHandler | ||
| Method | Defined By | ||
|---|---|---|---|
BaseAssetHandler(assetType:String)
Constructor. | BaseAssetHandler | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | |
![]() |
Dispatches an event into the event flow. | EventDispatcher | |
Returns the asset type handled by this handler. | BaseAssetHandler | ||
This method is invoked by the asset manager framework whenever user requests an action
on an object of type dataModule and then it delegates call to its respective handler. | BaseAssetHandler | ||
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined. | Object | |
Called by the asset manager framework giving the handlers a chance to initialize themselves. | BaseAssetHandler | ||
![]() |
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 | |
![]() |
Removes a listener from the EventDispatcher object. | EventDispatcher | |
![]() |
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 | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher | |
| Method | Defined By | ||
|---|---|---|---|
Dispatch Asset Action Event thrown by the export manager so that i could be listened
in the Amapplication.as
| BaseAssetHandler | ||
Called internally when this handler is handling an action of type ExportPackage. | BaseAssetHandler | ||
Called internally when this handler is handling an action of type ImportPackage. | BaseAssetHandler | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
![]() | [broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active. | EventDispatcher | ||
| Dispatched when the handling of an action is complete. | BaseAssetHandler | |||
| assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. | BaseAssetHandler | |||
![]() | [broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive. | EventDispatcher | ||
| Dispatched when an action handled by this handler requires an editor window to be launched. | BaseAssetHandler | |||
| Constant | Defined By | ||
|---|---|---|---|
| ACTION_EXPORTPACKAGE : String = "ExportPackage" [static]
Constant for the name of the action related to exporting dependencies of an asset. | BaseAssetHandler | ||
| ACTION_IMPORTPACKAGE : String = "ImportPackage" [static]
Constant for the name of the action related to importing dependencies of an asset. | BaseAssetHandler | ||
| ASSET_TYPE : String = "Asset" [static]
Constant for the Asset Type handled by this handler. | BaseAssetHandler | ||
| DATA_ASSET_TYPE : String = "DataModule" [static]
Constant for the Data Module handled by this handler
| BaseAssetHandler | ||
assetActions | property |
assetActions:IList| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The list of AssetAction objects maintained by this handler. This list is used by the asset manager framework to determine which action to enable. The asset manager framework looks for the value of the enabled flag in the AssetAction object to determine the same and handler updates the flags everytime the list of selected assets changes.
This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.
Implementation
public function get assetActions():IList public function set assetActions(value:IList):voidassetType | property |
public var assetType:String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The type of asset being handled by this handler.
selectedAssets | property |
selectedAssets:Array| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The array of text value objects currently selected by the user. This is set by the asset manager framework everytime a user selects or deselects an item of type text.
This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.
Implementation
public function get selectedAssets():Array public function set selectedAssets(value:Array):voidBaseAssetHandler | () | Constructor |
getAssetType | () | method |
public function getAssetType():String| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Returns the asset type handled by this handler. This is used by the asset manager framework to route actions to appropriate handlers.
ReturnsString — the asset type handled by this handler
|
handleAction | () | method |
public function handleAction(event:AssetActionEvent):void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
This method is invoked by the asset manager framework whenever user requests an action on an object of type dataModule and then it delegates call to its respective handler. This method is called for all the actions requested by the user. The action handling is internally routed to the correcting templatized methods like createImage(), editImage() etc.
Parameters
event:AssetActionEvent — The event object of type AssetActionEvent that is raised by the asset manager framework
|
handleImportManagerPopUp | () | method |
protected function handleImportManagerPopUp(event:AssetActionEvent):void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Dispatch Asset Action Event thrown by the export manager so that i could be listened in the Amapplication.as
Parameters
event:AssetActionEvent — AssetActionEvent containing information about the import action
|
initialize | () | method |
public function initialize():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
launchExportPopUp | () | method |
protected function launchExportPopUp():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type ExportPackage. This method launches the export Pop up to display all the assets to be exported .
launchImportPopUp | () | method |
protected function launchImportPopUp():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type ImportPackage. This method launches the import Pop up to display all the assets to be imported .
assetActionComplete | Event |
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEventproperty AssetActionCompleteEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the handling of an action is complete. This can be used by the framework or the application to perform any additional activities e.g. display of a toast, alert box etc.
assetActionsChanged | Event |
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEventproperty AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. It is redispatched by the AssetHandlerRegistry and finally handled by AssetManagerView
launchEditor | Event |
com.adobe.livecycle.assetmanager.client.event.AssetActionEventproperty AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Dispatched when an action handled by this handler requires an editor window to be launched. Create/View/Edit/Copy are the actions that require displaying the editor window to the user.
ACTION_EXPORTPACKAGE | Constant |
public static const ACTION_EXPORTPACKAGE:String = "ExportPackage"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to exporting dependencies of an asset.
ACTION_IMPORTPACKAGE | Constant |
public static const ACTION_IMPORTPACKAGE:String = "ImportPackage"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to importing dependencies of an asset.
ASSET_TYPE | Constant |
public static const ASSET_TYPE:String = "Asset"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
DATA_ASSET_TYPE | Constant |
public static const DATA_ASSET_TYPE:String = "DataModule"| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Composer Building Block 10.0 |
| Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constant for the Data Module handled by this handler
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties