套件 | com.adobe.icc.editors.handlers |
類別 | public class BaseAssetHandler |
繼承 | BaseAssetHandler EventDispatcher Object |
實作 | IAssetHandler |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
屬性 | 定義自 | ||
---|---|---|---|
assetActions : IList
The list of AssetAction objects maintained by this handler. | BaseAssetHandler | ||
assetType : String
The type of asset being handled by this handler. | BaseAssetHandler | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
selectedAssets : Array
The array of text value objects currently selected by the user. | BaseAssetHandler |
方法 | 定義自 | ||
---|---|---|---|
BaseAssetHandler(assetType:String)
Constructor. | BaseAssetHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Returns the asset type handled by this handler. | BaseAssetHandler | ||
This method is invoked by the asset manager framework whenever user requests an action
on an object of type dataModule and then it delegates call to its respective handler. | BaseAssetHandler | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Called by the asset manager framework giving the handlers a chance to initialize themselves. | BaseAssetHandler | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
方法 | 定義自 | ||
---|---|---|---|
Dispatch Asset Action Event thrown by the export manager so that i could be listened
in the Amapplication.as
| BaseAssetHandler | ||
Called internally when this handler is handling an action of type ExportPackage. | BaseAssetHandler | ||
Called internally when this handler is handling an action of type ImportPackage. | BaseAssetHandler |
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
Dispatched when the handling of an action is complete. | BaseAssetHandler | |||
assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. | BaseAssetHandler | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | |||
Dispatched when an action handled by this handler requires an editor window to be launched. | BaseAssetHandler |
常數 | 定義自 | ||
---|---|---|---|
ACTION_EXPORTPACKAGE : String = "ExportPackage" [靜態]
Constant for the name of the action related to exporting dependencies of an asset. | BaseAssetHandler | ||
ACTION_IMPORTPACKAGE : String = "ImportPackage" [靜態]
Constant for the name of the action related to importing dependencies of an asset. | BaseAssetHandler | ||
ASSET_TYPE : String = "Asset" [靜態]
Constant for the Asset Type handled by this handler. | BaseAssetHandler | ||
DATA_ASSET_TYPE : String = "DataModule" [靜態]
Constant for the Data Module handled by this handler
| BaseAssetHandler |
assetActions | 屬性 |
assetActions:IList
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The list of AssetAction objects maintained by this handler. This list is used by the asset manager framework to determine which action to enable. The asset manager framework looks for the value of the enabled flag in the AssetAction object to determine the same and handler updates the flags everytime the list of selected assets changes.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get assetActions():IList
public function set assetActions(value:IList):void
assetType | 屬性 |
public var assetType:String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The type of asset being handled by this handler.
selectedAssets | 屬性 |
selectedAssets:Array
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The array of text value objects currently selected by the user. This is set by the asset manager framework everytime a user selects or deselects an item of type text.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
BaseAssetHandler | () | 建構函式 |
getAssetType | () | 方法 |
public function getAssetType():String
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns the asset type handled by this handler. This is used by the asset manager framework to route actions to appropriate handlers.
傳回值String — the asset type handled by this handler
|
handleAction | () | 方法 |
public function handleAction(event:AssetActionEvent):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
This method is invoked by the asset manager framework whenever user requests an action on an object of type dataModule and then it delegates call to its respective handler. This method is called for all the actions requested by the user. The action handling is internally routed to the correcting templatized methods like createImage(), editImage() etc.
參數
event:AssetActionEvent — The event object of type AssetActionEvent that is raised by the asset manager framework
|
handleImportManagerPopUp | () | 方法 |
protected function handleImportManagerPopUp(event:AssetActionEvent):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Dispatch Asset Action Event thrown by the export manager so that i could be listened in the Amapplication.as
參數
event:AssetActionEvent — AssetActionEvent containing information about the import action
|
initialize | () | 方法 |
public function initialize():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
launchExportPopUp | () | 方法 |
protected function launchExportPopUp():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type ExportPackage. This method launches the export Pop up to display all the assets to be exported .
launchImportPopUp | () | 方法 |
protected function launchImportPopUp():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type ImportPackage. This method launches the import Pop up to display all the assets to be imported .
assetActionComplete | 事件 |
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
屬性 AssetActionCompleteEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the handling of an action is complete. This can be used by the framework or the application to perform any additional activities e.g. display of a toast, alert box etc.
assetActionsChanged | 事件 |
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
屬性 AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
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
launchEditor | 事件 |
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
屬性 AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when an action handled by this handler requires an editor window to be launched. Create/View/Edit/Copy are the actions that require displaying the editor window to the user.
ACTION_EXPORTPACKAGE | 常數 |
public static const ACTION_EXPORTPACKAGE:String = "ExportPackage"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to exporting dependencies of an asset.
ACTION_IMPORTPACKAGE | 常數 |
public static const ACTION_IMPORTPACKAGE:String = "ImportPackage"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to importing dependencies of an asset.
ASSET_TYPE | 常數 |
public static const ASSET_TYPE:String = "Asset"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
DATA_ASSET_TYPE | 常數 |
public static const DATA_ASSET_TYPE:String = "DataModule"
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constant for the Data Module handled by this handler
Tue Jun 12 2018, 03:47 PM Z