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