Pacote | lc.procmgmt.formbridge |
Classe | public class FormConnector |
Herança | FormConnector EventDispatcher Object |
Implementações | IMXMLObject |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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 .
Sintaxe MXMLOcultar sintaxe MXML<lc:FormConnector Properties id="lcConnector" Events formInitialData="formInitListener(event)" formSaveDataRequest="formSaveDataRequestListener(event)" formSubmitDataRequest="formSubmitDataRequestListener(event)"/>
Elementos da API relacionados
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | EventDispatcher | ||
Specifies that the Flex application has completed creation and binds the
required event listeners to events. | FormConnector | ||
Envia um evento para o fluxo de eventos. | EventDispatcher | ||
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Initializes communication with Workspace. | FormConnector | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Remove um ouvinte do objeto 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 | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | 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 | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object | ||
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher |
Evento | Resumo | Definido por | ||
---|---|---|---|---|
[transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR ganha o foco do sistema operacional e está se tornando inativo. | EventDispatcher | |||
[transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR perde o foco do sistema operacional e está se tornando inativo. | 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étodo |
public function creationComplete(event:Event):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that the Flex application has completed creation and binds the required event listeners to events.
Parâmetros
event:Event — Specifies that event the intialization of the object has completed.
|
initialized | () | método |
public function initialized(document:Object, id:String):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes communication with Workspace.
Parâmetros
document:Object — Specifies the application, built with Flex, to initialize.
| |
id:String — Reserved for future use.
|
setClean | () | método |
public function setClean():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes in the data have not been made in the Flex application.
setDataInvalid | () | método |
public function setDataInvalid():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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étodo |
public function setDataValid():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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étodo |
public function setDirty():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes have been made in the Flex application.
setReady | () | método |
public function setReady():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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étodo |
public function setSaveData(data:XML):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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.
Parâmetros
data:XML — Specifies data to save that is formatted as XML.
|
setSubmitData | () | método |
public function setSubmitData(data:XML):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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.
Parâmetros
data:XML — Specifies the data to submit to a process that is formatted as XML.
|
setSubmitDataInvalid | () | método |
public function setSubmitDataInvalid():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | 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 | Evento |
flash.events.DataEvent
propriedade DataEvent.type =
flash.events.DataEvent.FORM_INITIAL_DATA
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched after the Flex application has completed loading.
formSaveDataRequest | Evento |
flash.events.Event
propriedade Event.type =
flash.events.Event.FORM_SAVE_DATA_REQUEST
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched when a user clicks the Save Form Data button within Workspace.
formSubmitDataRequest | Evento |
flash.events.Event
propriedade Event.type =
flash.events.Event.FORM_SUBMIT_DATA_REQUEST
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched when a user clicks the Complete button within Workspace.
Wed Jun 13 2018, 11:10 AM Z