套件 | com.adobe.livecycle.assetmanager.client.handler |
類別 | public class AssetHandlerRegistry |
繼承 | AssetHandlerRegistry EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | AssetHandlerRegistry | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
[靜態]
A singleton that retrieves an AssetHandlerRegistry event. | AssetHandlerRegistry | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Checks whether a handler is registered for a specified assetType. | AssetHandlerRegistry | ||
Returns the assetHandler that corresponds to the specified assetType. | AssetHandlerRegistry | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
A singleton registry that is used to register an asset handler. | AssetHandlerRegistry | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
Starts the registry that calls the initialize function of individual handlers. | AssetHandlerRegistry | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
An event that is thrown when AssetHandler has completed the assetAction initiated by the user via the user interface. | AssetHandlerRegistry | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | |||
An event that is thrown when the handler is processing and wants the application to disable user interaction. | AssetHandlerRegistry | |||
An event thrown when the handler is done processing and wants the application to reenable user interaction. | AssetHandlerRegistry | |||
The launchEditor event is thrown by the handler when the handler has prepared the working asset to be displayed in the corresponding editor. | AssetHandlerRegistry |
常數 | 定義自 | ||
---|---|---|---|
DISABLE_USER_INTERACTION_EVENT : String = "disableUserInteraction" [靜態]
Defines a constant for an event type that disables user interaction with the application. | AssetHandlerRegistry | ||
ENABLE_USER_INTERACTION_EVENT : String = "enableUserInteraction" [靜態]
Defines a constant for an event type that enables users to interact with the application. | AssetHandlerRegistry |
AssetHandlerRegistry | () | 建構函式 |
public function AssetHandlerRegistry()
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
getInstance | () | 方法 |
public static function getInstance():AssetHandlerRegistry
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
A singleton that retrieves an AssetHandlerRegistry event.
傳回值AssetHandlerRegistry —
|
isRegistered | () | 方法 |
public function isRegistered(assetType:String):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Checks whether a handler is registered for a specified assetType.
參數
assetType:String — The asset to check.
|
Boolean — Specifies whether the handler is registered. If the value is true, it is registered.
|
lookup | () | 方法 |
public function lookup(assetType:String):IAssetHandler
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the assetHandler that corresponds to the specified assetType.
參數
assetType:String — The asset type for which the assetHandler is required.
|
IAssetHandler — An interface implemented by all asset handlers.
|
register | () | 方法 |
public function register(handler:IAssetHandler):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
A singleton registry that is used to register an asset handler.
參數
handler:IAssetHandler — The handler to register.
|
start | () | 方法 |
public function start():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Starts the registry that calls the initialize function of individual handlers.
assetActionComplete | 事件 |
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
An event that is thrown when AssetHandler has completed the assetAction initiated by the user via the user interface.
disableUserInteraction | 事件 |
mx.events.FlexEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
An event that is thrown when the handler is processing and wants the application to disable user interaction.
enableUserInteraction | 事件 |
mx.events.FlexEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
An event thrown when the handler is done processing and wants the application to reenable user interaction.
launchEditor | 事件 |
mx.events.FlexEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
The launchEditor event is thrown by the handler when the handler has prepared the working asset to be displayed in the corresponding editor.
DISABLE_USER_INTERACTION_EVENT | 常數 |
public static const DISABLE_USER_INTERACTION_EVENT:String = "disableUserInteraction"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines a constant for an event type that disables user interaction with the application.
ENABLE_USER_INTERACTION_EVENT | 常數 |
public static const ENABLE_USER_INTERACTION_EVENT:String = "enableUserInteraction"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Defines a constant for an event type that enables users to interact with the application.
Tue Jun 12 2018, 03:47 PM Z