套件 | com.adobe.solutions.exm.runtime.impl |
類別 | public class ExpressionManagerImpl |
繼承 | ExpressionManagerImpl Object |
實作 | IExpressionManager |
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
functionMapper : IFunctionMapper
Returns the function mapper used for resolving function calls in expressions. | ExpressionManagerImpl | ||
variableResolver : IVariableResolver
Returns the variable resolver used for resolving variables in expressions. | ExpressionManagerImpl |
方法 | 定義自 | ||
---|---|---|---|
Assigns the result of evaluation of the given expression to the given variable. | ExpressionManagerImpl | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Returns a ComputedExpression instance for the given expression string, which applications
can use for reading or binding to the result of evaluation of the expression. | ExpressionManagerImpl | ||
Returns a ComputedExpression instance for the given expression, and if the 'assignTo' property
of the given expression is set, automatically assigns the result of expression evaluation
to the variable represented by this property. | ExpressionManagerImpl | ||
Returns a list of ComputedExpression instances for the given list of expression objects. | ExpressionManagerImpl | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
functionMapper | 屬性 |
functionMapper:IFunctionMapper
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns the function mapper used for resolving function calls in expressions.
實作
public function get functionMapper():IFunctionMapper
public function set functionMapper(value:IFunctionMapper):void
variableResolver | 屬性 |
variableResolver:IVariableResolver
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns the variable resolver used for resolving variables in expressions.
實作
public function get variableResolver():IVariableResolver
public function set variableResolver(value:IVariableResolver):void
assignTo | () | 方法 |
public function assignTo(assignTo:String, expression:String):void
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Assigns the result of evaluation of the given expression to the given variable. The target variable is updated automatically whenever an expression recomputation event is triggered (e.g. due to a dependent variable change, etc.).
參數
assignTo:String — The target variable to which the result of expression evaluation is assigned.
| |
expression:String — The expression to be evaluated.
|
manage | () | 方法 |
public function manage(expression:String):IComputedExpression
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns a ComputedExpression instance for the given expression string, which applications can use for reading or binding to the result of evaluation of the expression.
參數
expression:String — An expression string.
|
IComputedExpression — A ComputedExpression instance for the given expression string.
|
manageExpression | () | 方法 |
public function manageExpression(expression:IExpression):IComputedExpression
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns a ComputedExpression instance for the given expression, and if the 'assignTo' property of the given expression is set, automatically assigns the result of expression evaluation to the variable represented by this property.
參數
expression:IExpression — An expression object with the 'expression' property, and optionally the
'assignTo' property, set.
|
IComputedExpression — A ComputedExpression instance for the given expression.
|
manageList | () | 方法 |
public function manageList(expressionsVector:Vector.<IExpression>):Vector.<IComputedExpression>
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns a list of ComputedExpression instances for the given list of expression objects.
參數
expressionsVector:Vector.<IExpression> — A list of Expression instances.
|
Vector.<IComputedExpression> — A list of ComputedExpression instances for the given list of expressions.
|
Tue Jun 12 2018, 03:47 PM Z