Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
com.adobe.solutions.exm.runtime 

IExpressionManager  - AS3 Expression Manager

Packagecom.adobe.solutions.exm.runtime
Interfacepublic interface IExpressionManager
Implémenteurs ExpressionManagerImpl

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: 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.



Propriétés publiques
 PropriétéDéfini par
  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
Méthodes publiques
 MéthodeDéfini par
  
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
Détails de la propriété

functionMapper

propriété
functionMapper:IFunctionMapper

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

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



Implémentation
    public function get functionMapper():IFunctionMapper
    public function set functionMapper(value:IFunctionMapper):void

variableResolver

propriété 
variableResolver:IVariableResolver

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

Returns the variable resolver used for resolving variables in expressions.



Implémentation
    public function get variableResolver():IVariableResolver
    public function set variableResolver(value:IVariableResolver):void
Détails de la méthode

assignTo

()méthode
public function assignTo(assignTo:String, expression:String):void

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: 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.).

Paramètres

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

manage

()méthode 
public function manage(expression:String):IComputedExpression

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: 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.

Paramètres

expression:String — An expression string.

Valeur renvoyée
IComputedExpression — A ComputedExpression instance for the given expression string.

manageExpression

()méthode 
public function manageExpression(expression:IExpression):IComputedExpression

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: 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.

Paramètres

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

Valeur renvoyée
IComputedExpression — A ComputedExpression instance for the given expression.

manageList

()méthode 
public function manageList(expressionsVector:Vector.<IExpression>):Vector.<IComputedExpression>

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Expression Manager 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

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

Paramètres

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

Valeur renvoyée
Vector.<IComputedExpression> — A list of ComputedExpression instances for the given list of expressions.




[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.