套件 | com.adobe.dct.exp |
類別 | public class DDIModelVariableResolver |
繼承 | DDIModelVariableResolver EventDispatcher Object |
實作 | IVariableResolver |
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
dataDictionaryInstanceModelList : IList
The underlying list of data dictionary instance models. | DDIModelVariableResolver |
公用方法
方法 | 定義自 | ||
---|---|---|---|
DDIModelVariableResolver(ddiModelList:IList = null)
Constructor. | DDIModelVariableResolver | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Gets the value of data dictionary element of a particular data dictionary. | DDIModelVariableResolver | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
Sets the value of data dictionary element of a particular data dictionary. | DDIModelVariableResolver | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
事件
事件 | 摘要 | 定義自 | ||
---|---|---|---|---|
[廣播事件] 當 Flash Player 或 AIR 應用程式取得作業系統焦點並成為作用中時傳送。 | EventDispatcher | |||
[廣播事件] 當 Flash Player 或 AIR 應用程式失去作業系統焦點並成為非作用中時傳送。 | EventDispatcher | |||
Dispatched when the value of a variable is changed. | DDIModelVariableResolver |
公用常數
常數 | 定義自 | ||
---|---|---|---|
DD_PREFIX : String = "DD_" [靜態]
Prefix for the key i.e. | DDIModelVariableResolver | ||
keyDelimiter : String = "_" [靜態]
This key delimiter. | DDIModelVariableResolver |
屬性詳細資訊
dataDictionaryInstanceModelList | 屬性 |
dataDictionaryInstanceModelList:IList
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The underlying list of data dictionary instance models.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 dataDictionaryInstanceListChanged
事件。
實作
public function get dataDictionaryInstanceModelList():IList
public function set dataDictionaryInstanceModelList(value:IList):void
建構函式詳細資料
DDIModelVariableResolver | () | 建構函式 |
方法詳細資訊
getValue | () | 方法 |
public function getValue(varName:String):Object
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Gets the value of data dictionary element of a particular data dictionary.
參數
varName:String — the variable name which can uniquely identify a data dictionary element. The variable has to comply with the format DD_DataDictionaryName_DDEReferenceName.
|
Object — A value of null if the value of data dictionary element is null.
undefined if the data dictionary element key is missing in data dictionary instance.
typed value if the value for data dictionary element is present in DDI.
|
setValue | () | 方法 |
public function setValue(varName:String, value:Object):void
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Sets the value of data dictionary element of a particular data dictionary.
參數
varName:String — the variable name which can uniquely identify a data dictionary element. The variable has to comply with the format DD_DataDictionaryName_DDEReferenceName.
| |
value:Object — the value of data dictionary element to be set.
|
事件詳細資訊
variableChangeEvent | 事件 |
事件物件類型:
屬性 VariableChangeEvent.type =
com.adobe.solutions.exm.runtime.VariableChangeEvent
屬性 VariableChangeEvent.type =
com.adobe.solutions.exm.runtime.VariableChangeEvent
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the value of a variable is changed. This event, being bubbling in nature, can be leveraged by the UI to update itself.
常數詳細資訊
DD_PREFIX | 常數 |
public static const DD_PREFIX:String = "DD_"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Prefix for the key i.e. ({DD_PREFIX}{DD name}.{DDE reference name}
).
keyDelimiter | 常數 |
public static const keyDelimiter:String = "_"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
This key delimiter. It is used to delimit the various parts of the key i.e DD_DataDictionaryName_DDEReferenceName.
Tue Jun 12 2018, 03:47 PM Z