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