ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.solutions.exm.runtime 

IExpressionManager  - AS3 Expression Manager

Paketcom.adobe.solutions.exm.runtime
Schnittstellepublic interface IExpressionManager
Umsetzer ExpressionManagerImpl

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The ExpressionManager interface is the entry point into the Expression Manager runtime. Applications should use an ExpressionManager instance for obtaining a ComputedExpression instance, from which they can obtain the result of the evaluated expression by reading or binding to the 'value' property. ExpressionManager has two pluggable components, a variable resolver and a function mapper, which are used for resolving any variables or function calls encountered in an expression string.



Öffentliche Eigenschaften
 EigenschaftDefiniert von
  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
Öffentliche Methoden
 MethodeDefiniert von
  
assignTo(assignTo:String, expression:String):void
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
Eigenschaftendetails

functionMapper

Eigenschaft
functionMapper:IFunctionMapper

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Returns the function mapper used for resolving function calls in expressions.



Implementierung
    public function get functionMapper():IFunctionMapper
    public function set functionMapper(value:IFunctionMapper):void

variableResolver

Eigenschaft 
variableResolver:IVariableResolver

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Returns the variable resolver used for resolving variables in expressions.



Implementierung
    public function get variableResolver():IVariableResolver
    public function set variableResolver(value:IVariableResolver):void
Methodendetails

assignTo

()Methode
public function assignTo(assignTo:String, expression:String):void

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: 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.).

Parameter

assignTo:String — The target variable to which the result of expression evaluation is assigned.
 
expression:String — The expression to be evaluated.

manage

()Methode 
public function manage(expression:String):IComputedExpression

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: 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.

Parameter

expression:String — An expression string.

Rückgabewerte
IComputedExpression — A ComputedExpression instance for the given expression string.

manageExpression

()Methode 
public function manageExpression(expression:IExpression):IComputedExpression

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: 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.

Parameter

expression:IExpression — An expression object with the 'expression' property, and optionally the 'assignTo' property, set.

Rückgabewerte
IComputedExpression — A ComputedExpression instance for the given expression.

manageList

()Methode 
public function manageList(expressionsVector:Vector.<IExpression>):Vector.<IComputedExpression>

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Expression Manager“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Returns a list of ComputedExpression instances for the given list of expression objects.

Parameter

expressionsVector:Vector.<IExpression> — A list of Expression instances.

Rückgabewerte
Vector.<IComputedExpression> — A list of ComputedExpression instances for the given list of expressions.




[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.