包 | com.adobe.icc.editors.managers |
类 | public class DataDictionaryManager |
继承 | DataDictionaryManager EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
DataDictionaryManager
class helps retrieve and maintain
the list of data dictionary names existing in the system.
DataDictionaryManager
is a singleton class that acts as
the source of truth for listing the data dictionary names in the system. For
performance reasons, all application components should query the
DataDictionaryManager
instead of querying the server directly for
data dictionaries.
The DataDictionaryManager
caches the data dictionary names
and saves redundant server calls. The maintained lists
are auto-updated via LCDS server-push whenever a new data dictionary is
added or an existing category is updated locally or on remote clients.
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
dataDictNames : IList
List of all data dictionary names of type non system. | DataDictionaryManager |
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
Fetches the data dictionary names from the backend server. | DataDictionaryManager | ||
[静态]
Gets the single instance of the DataDictionaryManager class. | DataDictionaryManager | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。 | EventDispatcher | |||
[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。 | EventDispatcher | |||
Dispatched when the list of data dictionary names have been successfully fetched from the server. | DataDictionaryManager |
dataDictNames | 属性 |
dataDictNames:IList
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
List of all data dictionary names of type non system.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get dataDictNames():IList
public function set dataDictNames(value:IList):void
fetchDataDictNames | () | 方法 |
public function fetchDataDictNames():void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Fetches the data dictionary names from the backend server.
This method must be explicitly called at least once,
by the user application so as to let the DataDictionaryManager
obtain the list of data dictionary names from the server.
Subsequent data dictionary updates or creations, either locally or remotely, are automatically pushed to the dataDictNames property.
getInstance | () | 方法 |
public static function getInstance():DataDictionaryManager
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Gets the single instance of the DataDictionaryManager class. This object manages the list of data dictionary names.
返回DataDictionaryManager — An object of type DataDictionaryManager.
|
fetchComplete | 事件 |
flash.events.Event
属性 Event.type =
flash.events.Event
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the list of data dictionary names have been successfully fetched from the server.
The fetch request can be made by invoking the fetchDataDictNames()
method
of this class. This event is dispatched when the asynchronous server call completes.
Tue Jun 12 2018, 11:04 AM Z