Package | lc.procmgmt.formbridge |
Classe | public class FormConnector |
Héritage | FormConnector EventDispatcher Object |
Implémente | IMXMLObject |
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
SwfConnector
class.
In earlier releases, the FormConnector
class is used in application built with Flex (Flex applications) to simplify communication
with Workspace. This class was used to enable the Flex application to function
within Workspace. You can use Flex applications in Workspace, but it is recommended that you use use the SwfConnector class
instead.
For information on using this component to customize Workspace, see Creating Flex Applications Enabled for Workspace .
Syntaxe MXMLMasquer la syntaxe MXML<lc:FormConnector Properties id="lcConnector" Events formInitialData="formInitListener(event)" formSaveDataRequest="formSaveDataRequestListener(event)" formSubmitDataRequest="formSubmitDataRequestListener(event)"/>
Eléments de l’API associés
Méthode | Défini par | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement. | EventDispatcher | ||
Specifies that the Flex application has completed creation and binds the
required event listeners to events. | FormConnector | ||
Distribue un événement dans le flux d’événements. | EventDispatcher | ||
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement. | EventDispatcher | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Initializes communication with Workspace. | FormConnector | ||
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Supprime un écouteur de l’objet EventDispatcher. | EventDispatcher | ||
Specifies that changes in the data have not been made in the Flex application. | FormConnector | ||
Specifies that data store is not valid. | FormConnector | ||
Specifies that the data stored is valid. | FormConnector | ||
Specifies that changes have been made in the Flex application. | FormConnector | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | ||
Notifies Workspace that the Flex application is ready to
start communicating. | FormConnector | ||
Sends the data to Workspace to save. | FormConnector | ||
Sends the data to Workspace to submit to a process. | FormConnector | ||
Specifies that the Flex application has completed creation and binds
the required event listeners to events. | FormConnector | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | ||
Renvoie la valeur primitive de l’objet spécifié. | Object | ||
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié. | EventDispatcher |
Evénement | Synthèse | Défini par | ||
---|---|---|---|---|
[Evénement de diffusion] Distribué lorsque l’application Flash Player obtient le focus du système d’exploitation et devient active. | EventDispatcher | |||
[Evénement de diffusion] Distribué lorsque l’application Flash Player ou AIR perd le focus du système d’exploitation et devient inactive. | EventDispatcher | |||
The event is dispatched after the Flex application has completed loading. | FormConnector | |||
The event is dispatched when a user clicks the Save Form Data button within Workspace. | FormConnector | |||
The event is dispatched when a user clicks the Complete button within Workspace. | FormConnector |
creationComplete | () | méthode |
public function creationComplete(event:Event):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that the Flex application has completed creation and binds the required event listeners to events.
Paramètres
event:Event — Specifies that event the intialization of the object has completed.
|
initialized | () | méthode |
public function initialized(document:Object, id:String):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes communication with Workspace.
Paramètres
document:Object — Specifies the application, built with Flex, to initialize.
| |
id:String — Reserved for future use.
|
setClean | () | méthode |
public function setClean():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes in the data have not been made in the Flex application.
setDataInvalid | () | méthode |
public function setDataInvalid():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that data store is not valid. Use this method when at least one portion of the data to be submitted is not correct or is not formatted correctly.
setDataValid | () | méthode |
public function setDataValid():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that the data stored is valid. Use this method when all the pieces of data to be submitted is correct.
setDirty | () | méthode |
public function setDirty():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes have been made in the Flex application.
setReady | () | méthode |
public function setReady():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Notifies Workspace that the Flex application is ready to
start communicating. To use it, associate it with the mx:Application
container's creationComplete
event.
setSaveData | () | méthode |
public function setSaveData(data:XML):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sends the data to Workspace to save. Data does not need to be validated before being saved.
Paramètres
data:XML — Specifies data to save that is formatted as XML.
|
setSubmitData | () | méthode |
public function setSubmitData(data:XML):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Sends the data to Workspace to submit to a process. The data must be validated before it is submitted to a process.
Paramètres
data:XML — Specifies the data to submit to a process that is formatted as XML.
|
setSubmitDataInvalid | () | méthode |
public function setSubmitDataInvalid():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that the Flex application has completed creation and binds the required event listeners to events.
formInitialData | Evénement |
flash.events.DataEvent
propriété DataEvent.type =
flash.events.DataEvent.FORM_INITIAL_DATA
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched after the Flex application has completed loading.
formSaveDataRequest | Evénement |
flash.events.Event
propriété Event.type =
flash.events.Event.FORM_SAVE_DATA_REQUEST
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched when a user clicks the Save Form Data button within Workspace.
formSubmitDataRequest | Evénement |
flash.events.Event
propriété Event.type =
flash.events.Event.FORM_SUBMIT_DATA_REQUEST
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched when a user clicks the Complete button within Workspace.
Tue Jun 12 2018, 09:30 AM Z