包 | 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, 11:04 AM Z