套件 | com.adobe.solutions.exm.runtime |
介面 | public interface IExpressionManager |
實作者 | ExpressionManagerImpl |
語言版本: | ActionScript 3.0 |
產品版本: | Expression Manager Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
屬性 | 定義自 | ||
---|---|---|---|
functionMapper : IFunctionMapper
Returns the function mapper used for resolving function calls in expressions. | IExpressionManager | ||
variableResolver : IVariableResolver
Returns the variable resolver used for resolving variables in expressions. | IExpressionManager |
方法 | 定義自 | ||
---|---|---|---|
Assigns the result of evaluation of the given expression to the given variable. | IExpressionManager | ||
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. | IExpressionManager | ||
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. | IExpressionManager | ||
Returns a list of ComputedExpression instances for the given list of expression objects. | IExpressionManager |
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