ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.content.handlers 

IAssetHandler  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.handlers
Interfacepublic interface IAssetHandler extends IEventDispatcher
Implementors BaseAssetHandler, CategoryHandler, ConditionHandler, DataDictionaryHandler, FragmentLayoutHandler, ImageHandler, LayoutHandler, LetterHandler, ListHandler, PermissionBasedAssetHandler, TextHandler

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Interface to be implemented by the component who wants to introduce a new Asset or write a custom handler for an existing asset type



Public Properties
 PropertyDefined By
  assetActions : IList
returns the list of Actions associated with the asset handled by this handler
IAssetHandler
  selectedAssets : Array
returns the array of currently selected assets
IAssetHandler
Public Methods
 MethodDefined By
 Inherited
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.
IEventDispatcher
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
  
returns the asset type associated with the asset.
IAssetHandler
  
Called when a user clicks on an action associated with a asset type.
IAssetHandler
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
  
initialize the Handler.
IAssetHandler
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail

assetActions

property
assetActions:IList

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

returns the list of Actions associated with the asset handled by this handler



Implementation
    public function get assetActions():IList
    public function set assetActions(value:IList):void

selectedAssets

property 
selectedAssets:Array

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

returns the array of currently selected assets



Implementation
    public function get selectedAssets():Array
    public function set selectedAssets(value:Array):void
Method Detail

getAssetType

()method
public function getAssetType():String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

returns the asset type associated with the asset.

Returns
String — Type of asset associated with this handler

handleAction

()method 
public function handleAction(action:AssetActionEvent):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Called when a user clicks on an action associated with a asset type.

Parameters

action:AssetActionEvent — The action associated with the asset

initialize

()method 
public function initialize():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

initialize the Handler. Called when AssetHandlerRegistry is started.