包 | com.adobe.solutions.exm.runtime |
接口 | public interface IVariableResolver extends IEventDispatcher |
实现器 | DDIModelVariableResolver, SimpleVariableResolver |
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | IEventDispatcher | ||
Returns the value of the given variable. | IVariableResolver | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
Sets the value of the given variable. | IVariableResolver | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
事件
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
Dispatched when the value of a variable managed by the resolver changes. | IVariableResolver |
方法详细信息
getValue | () | 方法 |
public function getValue(varName:String):Object
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Returns the value of the given variable.
参数
varName:String — The fully qualified name of the variable whose value is required.
|
Object — The value of the given variable.
|
setValue | () | 方法 |
public function setValue(varName:String, value:Object):void
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Sets the value of the given variable.
参数
varName:String — The fully qualified name of the variable whose value is to be set.
| |
value:Object — The value to be set.
|
事件详细信息
variableChangeEvent | 事件 |
事件对象类型:
com.adobe.solutions.exm.runtime.VariableChangeEvent
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the value of a variable managed by the resolver changes.
Tue Jun 12 2018, 11:04 AM Z