包 | com.adobe.ep.ux.content.handlers |
类 | public class AssetHandlerRegistry |
继承 | AssetHandlerRegistry EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor
| AssetHandlerRegistry | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
[静态]
Singleton to get AssetHandlerRegistry. | AssetHandlerRegistry | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
Checks whether a handler is registered for give assetType. | AssetHandlerRegistry | ||
returns the assetHandler corresponding to given assetType
| AssetHandlerRegistry | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Register an Asset Handler in this Singleton registry. | AssetHandlerRegistry | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
Start the registry which calls the initialize function of individual handlers. | AssetHandlerRegistry | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。 | EventDispatcher | |||
assetActionComplete event thrown when AssetHandler has completed the assetAction taken by user through ui. | AssetHandlerRegistry | |||
assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. | AssetHandlerRegistry | |||
[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。 | EventDispatcher | |||
Event thrown when handler is doing some processing and it wants Application to disable user interaction | AssetHandlerRegistry | |||
Event thrown when handler has done processing and it wants Application to re-enable user interaction | AssetHandlerRegistry | |||
launchEditor event is thrown by the Handler when handler has prepared the working asset to dispaly that in corresponding editor | AssetHandlerRegistry |
常量 | 由以下参数定义 | ||
---|---|---|---|
ASSET_ACTIONS_CHANGED : String = "assetActionsChanged" [静态]
This constant specifies the event that the asset actions have changed
| AssetHandlerRegistry | ||
DISABLE_USER_INTERACTION_EVENT : String = "disableUserInteraction" [静态]
This constant specifies the event which disables the user interaction
| AssetHandlerRegistry | ||
ENABLE_USER_INTERACTION_EVENT : String = "enableUserInteraction" [静态]
This constant specifies the type of event which enables the user interaction
| AssetHandlerRegistry |
AssetHandlerRegistry | () | 构造函数 |
public function AssetHandlerRegistry()
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Constructor
getInstance | () | 方法 |
public static function getInstance():AssetHandlerRegistry
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Singleton to get AssetHandlerRegistry.
返回AssetHandlerRegistry — An instance of Asset Handler Registry to manage the registry of Asset Handlers
|
isRegistered | () | 方法 |
public function isRegistered(assetType:String):Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Checks whether a handler is registered for give assetType.
参数
assetType:String — The type of Asset
|
Boolean — True if the asset handler is registered else return false
|
lookup | () | 方法 |
public function lookup(assetType:String):IAssetHandler
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
returns the assetHandler corresponding to given assetType
参数
assetType:String — The type of asset for which the handler is required
|
IAssetHandler — The handler registered for given parameter
|
register | () | 方法 |
public function register(handler:IAssetHandler):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Register an Asset Handler in this Singleton registry.
参数
handler:IAssetHandler — The Handler to register
|
start | () | 方法 |
public function start():void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Start the registry which calls the initialize function of individual handlers.
assetActionComplete | 事件 |
com.adobe.ep.ux.content.event.AssetActionCompleteEvent
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
assetActionComplete event thrown when AssetHandler has completed the assetAction taken by user through ui.
assetActionsChanged | 事件 |
com.adobe.ep.ux.content.event.AssetActionsChangeEvent
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
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
disableUserInteraction | 事件 |
mx.events.FlexEvent
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Event thrown when handler is doing some processing and it wants Application to disable user interaction
enableUserInteraction | 事件 |
mx.events.FlexEvent
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Event thrown when handler has done processing and it wants Application to re-enable user interaction
launchEditor | 事件 |
mx.events.FlexEvent
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
launchEditor event is thrown by the Handler when handler has prepared the working asset to dispaly that in corresponding editor
ASSET_ACTIONS_CHANGED | 常量 |
public static const ASSET_ACTIONS_CHANGED:String = "assetActionsChanged"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This constant specifies the event that the asset actions have changed
DISABLE_USER_INTERACTION_EVENT | 常量 |
public static const DISABLE_USER_INTERACTION_EVENT:String = "disableUserInteraction"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This constant specifies the event which disables the user interaction
ENABLE_USER_INTERACTION_EVENT | 常量 |
public static const ENABLE_USER_INTERACTION_EVENT:String = "enableUserInteraction"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This constant specifies the type of event which enables the user interaction
Tue Jun 12 2018, 11:04 AM Z