用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
com.adobe.ep.ux.content.handlers 

IAssetHandler  - AS3 ADEP Content

com.adobe.ep.ux.content.handlers
接口public interface IAssetHandler extends IEventDispatcher
实现器 BaseAssetHandler, CategoryHandler, ConditionHandler, DataDictionaryHandler, FragmentLayoutHandler, ImageHandler, LayoutHandler, LetterHandler, ListHandler, PermissionBasedAssetHandler, TextHandler

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Content 10
运行时版本: 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



公共属性
 属性由以下参数定义
  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
公共方法
 方法由以下参数定义
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
IEventDispatcher
 Inherited
将事件调度到事件流中。
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
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
IEventDispatcher
  
initialize the Handler.
IAssetHandler
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
IEventDispatcher
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
IEventDispatcher
属性详细信息

assetActions

属性
assetActions:IList

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Content 10
运行时版本: Flash Player 10.2, AIR (unsupported)

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



实现
    public function get assetActions():IList
    public function set assetActions(value:IList):void

selectedAssets

属性 
selectedAssets:Array

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Content 10
运行时版本: Flash Player 10.2, AIR (unsupported)

returns the array of currently selected assets



实现
    public function get selectedAssets():Array
    public function set selectedAssets(value:Array):void
方法详细信息

getAssetType

()方法
public function getAssetType():String

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Content 10
运行时版本: Flash Player 10.2, AIR (unsupported)

returns the asset type associated with the asset.

返回
String — Type of asset associated with this handler

handleAction

()方法 
public function handleAction(action:AssetActionEvent):void

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Content 10
运行时版本: Flash Player 10.2, AIR (unsupported)

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

参数

action:AssetActionEvent — The action associated with the asset

initialize

()方法 
public function initialize():void

语言版本: ActionScript 3.0
产品版本: Adobe Digital Enterprise Platform Experience Services - Content 10
运行时版本: Flash Player 10.2, AIR (unsupported)

initialize the Handler. Called when AssetHandlerRegistry is started.





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。