Paket | com.adobe.solutions.exm.authoring.domain.expression |
Arabirim | public interface IExpressionProvider extends IEventDispatcher |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Yöntem | Tanımlayan: | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder. | IEventDispatcher | ||
Olay akışına bir olay gönderir. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the expression with the given ID from the expression repository. | IExpressionProvider | ||
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder. | 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 nesnesinden bir dinleyiciyi kaldırır. | 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 | ||
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder. | IEventDispatcher |
Olay | Özet | Tanımlayan: | ||
---|---|---|---|---|
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 | () | yöntem |
public function getExpression(exprId:String):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
exprId:String — The ID of the expression to be retrieved.
|
listExpressions | () | yöntem |
public function listExpressions():String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | 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 | () | yöntem |
public function newExpression():IExpression
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Creates a new transient expression object and returns it.
DöndürürIExpression — A new transient expression object.
|
searchExpressions | () | yöntem |
public function searchExpressions(searchTerm:String):String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
searchTerm:String |
String — A unique request ID which calling code can use for correlating invocations of this method
with events dispatched later.
|
validate | () | yöntem |
public function validate(expressions:IList):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
expressions:IList — The list of expressions (IExpression instances) to be validated.
|
expressionGetError | Olay |
com.adobe.solutions.exm.authoring.domain.ErrorEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving an expression from the repository.
expressionGetEvent | Olay |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionGetEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves an expression from the repository.
expressionListError | Olay |
com.adobe.solutions.exm.authoring.domain.RequestAwareErrorEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving a set of expressions from the repository.
expressionListProviderEvent | Olay |
com.adobe.solutions.exm.authoring.domain.expression.ExpressionListProviderEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Expression Manager Building Block 10 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves a set of expressions from the repository.
Tue Jun 12 2018, 01:09 PM Z