套件 | 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, 03:47 PM Z