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

DataDictionaryHandler  - AS3 Asset Composer

com.adobe.icc.editors.handlers
public class DataDictionaryHandler
继承DataDictionaryHandler Inheritance EventDispatcher Inheritance Object
实现 IAssetHandler

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10
运行时版本: AIR (unsupported), Flash Player 10.2

The Handler for the actions requested for asset of type DataDictionary. Handlers are registered with the AssetHandlerRegistry and come into picture when an action is requested on assets that the handlers associate themselves with.



公共属性
 属性由以下参数定义
  assetActions : IList
The list of AssetAction objects maintained by this handler.
DataDictionaryHandler
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
  currentAction : AssetAction
The action that the handler is currently executing.
DataDictionaryHandler
  selectedAssets : Array
The array of data dictionary value objects currently selected by the user.
DataDictionaryHandler
  service : DataDictionaryRegistryService
[静态] The infrastructure service for handling transfer objects of type Data Dictionary.
DataDictionaryHandler
公共方法
 方法由以下参数定义
  
Constructor.
DataDictionaryHandler
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
EventDispatcher
  
Called internally when this handler is handling an action of type Create.
DataDictionaryHandler
 Inherited
将事件调度到事件流中。
EventDispatcher
  
Called internally when this handler is handling an action of type Edit.
DataDictionaryHandler
  
Returns the asset type handled by this handler.
DataDictionaryHandler
  
Called the Asset Action is delegated to the handler
DataDictionaryHandler
 Inherited
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
EventDispatcher
 Inherited
表示对象是否已经定义了指定的属性。
Object
  
Called by the asset manager framework giving the handlers a chance to initialize themselves.
DataDictionaryHandler
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
EventDispatcher
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
 Inherited
返回指定对象的原始值。
Object
  
Called internally when this handler is handling an action of type View.
DataDictionaryHandler
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
EventDispatcher
受保护的方法
 方法由以下参数定义
  
Called internally when this handler is handling an action of type Delete.
DataDictionaryHandler
  
handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid.
DataDictionaryHandler
  
Redispatching the asset action event to show the import Asset Popup
DataDictionaryHandler
  
Called internally when this handler is handling an action of type RevertToLastPublish.
DataDictionaryHandler
  
Called internally when this handler is handling an action of type ExportPackage.
DataDictionaryHandler
  
Called internally when this handler is handling an action of type ImportPackage.
DataDictionaryHandler
  
Called internally when this handler is handling action of type MarkForPublish This method modifies the state of asset to Ready to Publish .
DataDictionaryHandler
  
Called internally when this handler is handling an action of type Publish.
DataDictionaryHandler
  
Called internally when the user selects the button on the Revert To Last Publish Pop up .
DataDictionaryHandler
事件
 事件 摘要 由以下参数定义
 Inherited[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。EventDispatcher
  assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets.DataDictionaryHandler
 Inherited[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。EventDispatcher
  Dispatched when an action handled by this handler requires an editor window to be launched.DataDictionaryHandler
公共常量
 常量由以下参数定义
  ACTION_CREATE : String = "Create"
[静态] Constant for the name of the action related to creation of an asset.
DataDictionaryHandler
  ACTION_DELETE : String = "Delete"
[静态] Constant for the name of the action related to deletion of an asset.
DataDictionaryHandler
  ACTION_EDIT : String = "Edit"
[静态] Constant for the name of the action related to editing of an asset.
DataDictionaryHandler
  ACTION_EXPORTPACKAGE : String = "ExportPackage"
[静态] Constant for the name of the action related to exporting dependencies of an asset.
DataDictionaryHandler
  ACTION_IMPORTPACKAGE : String = "ImportPackage"
[静态] Constant for the name of the action related to importing dependencies of an asset.
DataDictionaryHandler
  ACTION_MARKFORPUBLISH : String = "MarkForPublish"
[静态] Constant for the name of the action related to activation of an asset.
DataDictionaryHandler
  ACTION_PUBLISH : String = "PublishDD"
[静态] Constant for the name of the action related to markforpublish of an asset.
DataDictionaryHandler
  ACTION_REVERTTOLASTPUBLISH : String = "RevertToLastPublish"
[静态] Constant for the name of the action related to revert to last publish of an asset.
DataDictionaryHandler
  ACTION_VIEW : String = "View"
[静态] Constant for the name of the action related to viewing of an asset.
DataDictionaryHandler
  ASSET_TYPE : String = "DataDictionary"
[静态] Constant for the Asset Type handled by this handler.
DataDictionaryHandler
属性详细信息

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

currentAction

属性 
currentAction:AssetAction

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

The action that the handler is currently executing. This is useful in cases when the editor needs to know the action that the working asset is being acted upon. For instance, the editor might need to disable some of the fields if it is a view action.

此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange 事件。



实现
    public function get currentAction():AssetAction
    public function set currentAction(value:AssetAction):void

selectedAssets

属性 
selectedAssets:Array

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

The array of data dictionary 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 DataDictionary.

此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange 事件。



实现
    public function get selectedAssets():Array
    public function set selectedAssets(value:Array):void

service

属性 
public static var service:DataDictionaryRegistryService

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

The infrastructure service for handling transfer objects of type Data Dictionary.

构造函数详细信息

DataDictionaryHandler

()构造函数
public function DataDictionaryHandler()

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constructor.

方法详细信息

createDataDictionary

()方法
public function createDataDictionary():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 Create. The default implementation creates a new data dictionary domain object, assigns it as the working asset and dispatches the launchEditor event so that the framework can display the editor window to the user. This method can be extended to override the creation behavior of this handler. For instance, if creation requires some preprocessing or some checks that need to be made, the same can be done by overriding this method.

deleteDataDictionary

()方法 
protected function deleteDataDictionary(showWaring:Boolean = true):mx.rpc:AsyncToken

语言版本: 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 Delete. The default implementation deletes s single selected DataDictionary. A confirmation Alert dialog is shown to the user but can be curbed by setting the showWarning flag value to false. The launchEditor event is never dispatched while handling the delete action.

参数

showWaring:Boolean (default = true) — Should the warning be shown before deletion

返回
mx.rpc:AsyncTokenAsyncToken token

editDataDictionary

()方法 
public function editDataDictionary():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 Edit. The default implementation creates a new data dictionary domain object from the selected data dictionary value object.

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

Called the Asset Action is delegated to the handler

参数

event:AssetActionEventAssetActionEvent containing information about the action

handleDefaultAction

()方法 
protected function handleDefaultAction(event:AssetActionEvent):void

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid. If user has edit permission, then asset is opened in edit mode. otherwise if user has view peermission then asset is opened in view mode.

参数

event:AssetActionEventAssetActionEvent containing information about the action

handleImportManagerPopUp

()方法 
protected function handleImportManagerPopUp(event:AssetActionEvent):void

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Redispatching the asset action event to show the import Asset Popup

参数

event:AssetActionEventAssetActionEvent containing information about the import action

handleRevertToLastPublish

()方法 
protected function handleRevertToLastPublish():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 RevertToLastPublish. This method all the revert to last publish functionality and shows either alert or pop up of all the dependent assets.

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 .

markForPublish

()方法 
protected function markForPublish():void

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling action of type MarkForPublish This method modifies the state of asset to Ready to Publish .

publish

()方法 
protected function publish():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 Publish. This method publishes the asset using id of that asset.

revertToLastPublish

()方法 
protected function revertToLastPublish(event:CloseEvent):void

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Called internally when the user selects the button on the Revert To Last Publish Pop up .

参数

event:CloseEventCloseEvent

viewDataDictionary

()方法 
public function viewDataDictionary():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 View. The default implementation creates a new data dictionary domain object from the selected data dictionary value object, assigns it as the working asset and dispatches the launchEditor event so that the framework can display the editor window to the user. This method can be extended to override the "view" behavior of this handler. For instance, if viewing action requires some preprocessing or some checks that need to be made, the same can be done by overriding this method.

事件详细信息

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_CREATE

常量
public static const ACTION_CREATE:String = "Create"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to creation of an asset.

ACTION_DELETE

常量 
public static const ACTION_DELETE:String = "Delete"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to deletion of an asset.

ACTION_EDIT

常量 
public static const ACTION_EDIT:String = "Edit"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to editing of an asset.

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.

ACTION_MARKFORPUBLISH

常量 
public static const ACTION_MARKFORPUBLISH:String = "MarkForPublish"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to activation of an asset.

ACTION_PUBLISH

常量 
public static const ACTION_PUBLISH:String = "PublishDD"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to markforpublish of an asset.

ACTION_REVERTTOLASTPUBLISH

常量 
public static const ACTION_REVERTTOLASTPUBLISH:String = "RevertToLastPublish"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to revert to last publish of an asset.

ACTION_VIEW

常量 
public static const ACTION_VIEW:String = "View"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to viewing of an asset.

ASSET_TYPE

常量 
public static const ASSET_TYPE:String = "DataDictionary"

语言版本: ActionScript 3.0
产品版本: Asset Composer Building Block 10.0
运行时版本: AIR (unsupported), Flash Player 10.2

Constant for the Asset Type handled by this handler.





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

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