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