包 | com.adobe.solutions.exm.authoring.domain.expression |
接口 | public interface IExpression extends IEventDispatcher |
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
属性 | 由以下参数定义 | ||
---|---|---|---|
assignedTo : String
Returns the variable this expression is assigned to, or null if the expression is not assigned
to any variable. | IExpression | ||
description : String
Returns a human-readable verbose description for this expression. | IExpression | ||
displayName : String
Returns a human-readable display-text for this expression. | IExpression | ||
expression : String
Returns the actual expression string represented by this expression. | IExpression | ||
id : String [只读]
Returns the unique ID of this expression. | IExpression |
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
Fires an asynchronous operation for creating this expression in the expression repository. | IExpression | ||
Fires an asynchronous operation for deleting this expression from the expression repository. | IExpression | ||
将事件调度到事件流中。 | IEventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
Returns the list of variables referenced inside this expression. | IExpression | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
Fires an asynchronous operation for updating this expression in the expression repository. | IExpression | ||
Validates this expression for syntactic correctness. | IExpression | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
Dispatched when the expression is successfully created in the expression repository. | IExpression | |||
Dispatched when the expression is successfully deleted from the expression repository. | IExpression | |||
Dispatched when an error occurs while creating/updating/deleting the expression in the expression repository. | IExpression | |||
Dispatched when the expression is successfully updated in the expression repository. | IExpression |
assignedTo | 属性 |
assignedTo:String
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Returns the variable this expression is assigned to, or null if the expression is not assigned to any variable.
实现
public function get assignedTo():String
public function set assignedTo(value:String):void
description | 属性 |
displayName | 属性 |
expression | 属性 |
id | 属性 |
createExpression | () | 方法 |
public function createExpression():void
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for creating this expression in the expression repository. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation succeeds, an event with name "expressionCreateEvent" of type ExpressionCreateEvent. The 'expression' property of the event will be a reference to the current expression object.
- If the operation fails, an event with name "expressionErrorEvent" of type ErrorEvent. The 'error' property on the event will contain the actual error thrown by the operation.
deleteExpression | () | 方法 |
public function deleteExpression():void
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for deleting this expression from the expression repository. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation succeeds, an event with name "expressionDeleteEvent" of type ExpressionDeleteEvent. The 'expression' property of the event will be a reference to the current expression object.
- If the operation fails, an event with name "expressionErrorEvent" of type ErrorEvent. The 'error' property on the event will contain the actual error thrown by the operation.
referencedVariables | () | 方法 |
public function referencedVariables():IList
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Returns the list of variables referenced inside this expression.
返回IList — A list of string variable-names corresponding to the variables referenced inside this expression.
|
updateExpression | () | 方法 |
public function updateExpression():void
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for updating this expression in the expression repository. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation succeeds, an event with name "expressionUpdateEvent" of type ExpressionUpdateEvent. The 'expression' property of the event will be a reference to the current expression object.
- If the operation fails, an event with name "expressionErrorEvent" of type ErrorEvent. The 'error' property on the event will contain the actual error thrown by the operation.
validate | () | 方法 |
public function validate():ExpressionValidationResult
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Validates this expression for syntactic correctness.
返回ExpressionValidationResult — An ExpressionValidationResult instance encapsulating the result of validation.
|
expressionCreateEvent | 事件 |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionCreateEvent
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the expression is successfully created in the expression repository.
expressionDeleteEvent | 事件 |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionDeleteEvent
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the expression is successfully deleted from the expression repository.
expressionErrorEvent | 事件 |
com.adobe.solutions.exm.authoring.domain.ErrorEvent
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when an error occurs while creating/updating/deleting the expression in the expression repository.
expressionUpdateEvent | 事件 |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionUpdateEvent
语言版本: | ActionScript 3.0 |
产品版本: | Expression Manager Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the expression is successfully updated in the expression repository.
Tue Jun 12 2018, 11:04 AM Z