Paquete | com.adobe.solutions.exm.authoring.domain.variable |
Interfaz | public interface IVariableProvider extends IEventDispatcher |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Expression Manager 10 |
Versiones de motor de ejecución: | AIR (unsupported), Flash Player 10.2 |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | IEventDispatcher | ||
Distribuye un evento en el flujo del evento. | IEventDispatcher | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the list of all variables available for use inside expressions
during authoring. | IVariableProvider | ||
Elimina un detector del objeto EventDispatcher. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the list of available variables which match the given search term. | IVariableProvider | ||
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | IEventDispatcher |
Eventos
Evento | Resumen | Definido por | ||
---|---|---|---|---|
Dispatched when the provider encounters an error retrieving a list of variables. | IVariableProvider | |||
Dispatched when the provider successfully retrieves a list of variables. | IVariableProvider |
Información sobre métodos
listVariables | () | método |
public function listVariables():String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Expression Manager 10 |
Versiones de motor de ejecución: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of all variables available for use inside expressions during authoring. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfuly, an event with name "variableProviderEvent" of type VariableProviderEvent. The 'variables' property of the event will be a reference to the list of available variables (IVariable 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 "variableProviderError" 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.
|
searchVariables | () | método |
public function searchVariables(searchTerm:String):String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Expression Manager 10 |
Versiones de motor de ejecución: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of available variables which match 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 "variableProviderEvent" of type VariableProviderEvent. The 'variables' property of the event will be a reference to the list of matching variables (IVariable 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 "variableProviderError" 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.
Parámetros
searchTerm:String — The search term to be used for filtering variables.
|
String — A unique request ID which calling code can use for correlating invocations of this method
with events dispatched later.
|
Información sobre eventos
variableProviderError | Evento |
Tipo de objeto de evento:
com.adobe.solutions.exm.authoring.domain.RequestAwareErrorEvent
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Expression Manager 10 |
Versiones de motor de ejecución: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving a list of variables.
variableProviderEvent | Evento |
Tipo de objeto de evento:
com.adobe.solutions.exm.authoring.domain.variable.VariableProviderEvent
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Bloque de construcción Expression Manager 10 |
Versiones de motor de ejecución: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves a list of variables.
Tue Jun 12 2018, 02:12 PM Z