패키지 | com.adobe.solutions.exm.authoring.domain.expression |
인터페이스 | public interface IExpressionProvider extends IEventDispatcher |
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
메서드 | 정의 주체 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | IEventDispatcher | ||
이벤트를 이벤트 흐름으로 전달합니다. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the expression with the given ID from the expression repository. | IExpressionProvider | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the list of all available expressions. | IExpressionProvider | ||
Creates a new transient expression object and returns it. | IExpressionProvider | ||
EventDispatcher 객체에서 리스너를 제거합니다. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the list of available expressions matching the given search term. | IExpressionProvider | ||
Validates a batch of expressions (IExpression instances) for syntactic correctness
and cyclic dependencies. | IExpressionProvider | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher |
이벤트 | 요약 | 정의 주체 | ||
---|---|---|---|---|
Dispatched when the provider encounters an error retrieving an expression from the repository. | IExpressionProvider | |||
Dispatched when the provider successfully retrieves an expression from the repository. | IExpressionProvider | |||
Dispatched when the provider encounters an error retrieving a set of expressions from the repository. | IExpressionProvider | |||
Dispatched when the provider successfully retrieves a set of expressions from the repository. | IExpressionProvider |
getExpression | () | 메서드 |
public function getExpression(exprId:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the expression with the given ID from the expression repository. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfully, an event with name "expressionGetEvent" of type ExpressionGetEvent. The 'expression' property of the event will be a reference to the loaded expression object, and will have the same ID as the one passed as input to this method.
- If the operation errors out, an event with name "expressionGetError" of type ErrorEvent. The 'error' property of the event will contain the actual error thrown by the operation.
매개 변수
exprId:String — The ID of the expression to be retrieved.
|
listExpressions | () | 메서드 |
public function listExpressions():String
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of all available expressions. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfuly, an event with name "expressionListProviderEvent" of type ExpressionListProviderEvent. The 'expressions' property of the event will be a reference to the list of expressions (IExpression objects) in the system. The 'requestId' property of the event will be the same as the value returned by this method, which is a unique string that calling code can use for correlating calls to this method with events dispatched later.
- If the operation errors out, an event with name "expressionListError" of type RequestAwareErrorEvent. The 'requestId' property of the event will be the same as the value returned by this method, while the 'error' property will contain the actual error thrown by the operation.
String — A unique request ID which calling code can use for correlating invocations of this method
with events dispatched later.
|
newExpression | () | 메서드 |
public function newExpression():IExpression
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Creates a new transient expression object and returns it.
반환값IExpression — A new transient expression object.
|
searchExpressions | () | 메서드 |
public function searchExpressions(searchTerm:String):String
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of available expressions matching the given search term. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfuly, an event with name "expressionListProviderEvent" of type ExpressionListProviderEvent. The 'expressions' property of the event will be a reference to the list of matching expressions (IExpression objects). The 'requestId' property of the event will be the same as the value returned by this method, which is a unique string that calling code can use for correlating calls to this method with events dispatched later.
- If the operation errors out, an event with name "expressionListError" of type RequestAwareErrorEvent. The 'requestId' property of the event will be the same as the value returned by this method, while the 'error' property will contain the actual error thrown by the operation.
매개 변수
searchTerm:String |
String — A unique request ID which calling code can use for correlating invocations of this method
with events dispatched later.
|
validate | () | 메서드 |
public function validate(expressions:IList):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Validates a batch of expressions (IExpression instances) for syntactic correctness and cyclic dependencies. Returns quietly if validation succeeds, else throws one of the following errors:
- ExpressionValidationError if any of the expressions is syntactically incorrect.
- SimpleCyclicDependencyError if a simple cycle involving one variable is detected in an expression.
- ComplexCyclicDependencyError if a complex cycle involving two or more variables is detected over multiple expressions.
매개 변수
expressions:IList — The list of expressions (IExpression instances) to be validated.
|
expressionGetError | 이벤트 |
com.adobe.solutions.exm.authoring.domain.ErrorEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving an expression from the repository.
expressionGetEvent | 이벤트 |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionGetEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves an expression from the repository.
expressionListError | 이벤트 |
com.adobe.solutions.exm.authoring.domain.RequestAwareErrorEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving a set of expressions from the repository.
expressionListProviderEvent | 이벤트 |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionListProviderEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Expression Manager Building Block 10 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves a set of expressions from the repository.
Tue Jun 12 2018, 03:17 PM Z