com.adobe.solutions.exm.runtime

# IExpression - AS3 Expression Manager

Package | com.adobe.solutions.exm.runtime
Interface | public interface IExpression extends IEventDispatcher
Implementors | ExpressionImpl

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 10

Runtime Versions: | AIR (unsupported), Flash Player 10.2

Interface representing an expression which is passed to the Expression Manager for management. This encapsulates the actual expression string as well as the variable to which the expression is assigned, if any.

Public Properties

| Property | Defined By
--- | --- | ---
|  | assignTo : String Returns the variable to which this expression is assigned, if any. | IExpression
|  | expression : String Returns the actual expression string. | IExpression
|  | name : String Returns the name of the expression. | IExpression

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event. | IEventDispatcher
|  | dispatchEvent(event:Event):Boolean Dispatches an event into the event flow. | IEventDispatcher
|  | hasEventListener(type:String):Boolean Checks whether the EventDispatcher object has any listeners registered for a specific type of event. | IEventDispatcher
|  | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void Removes a listener from the EventDispatcher object. | IEventDispatcher
|  | willTrigger(type:String):Boolean Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher

Events
Click for more information on events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | expressionValueChange | Dispatched when the value of the expression changes. | IExpression

Property Detail

### assignTo

property

`assignTo:String`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 10

Runtime Versions: | AIR (unsupported), Flash Player 10.2

Returns the variable to which this expression is assigned, if any. The Expression Manager automatically sets the variable value to the result of expression evaluation (on initialization and whenever the expression recomputes).

Implementation
`public function get assignTo():String`
`public function set assignTo(value:String):void`

### expression

property

`expression:String`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 10

Runtime Versions: | AIR (unsupported), Flash Player 10.2

Returns the actual expression string.

Implementation
`public function get expression():String`
`public function set expression(value:String):void`

### name

property

`name:String`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 10

Runtime Versions: | AIR (unsupported), Flash Player 10.2

Returns the name of the expression.

Implementation
`public function get name():String`
`public function set name(value:String):void`
Event Detail

### expressionValueChange

Event

Event Object Type: `com.adobe.solutions.exm.runtime.ExpressionValueChangeEvent`

Language Version: | ActionScript 3.0

Product Version: | Expression Manager Building Block 10

Runtime Versions: | AIR (unsupported), Flash Player 10.2

Dispatched when the value of the expression changes.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00