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