套件 | 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, 03:47 PM Z