| Pakiet | lc.procmgmt.formbridge |
| Klasa | public class FormConnector |
| Dziedziczenie | FormConnector EventDispatcher Object |
| Implementuje | IMXMLObject |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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 .
Składnia MXML
Ukryj składnię MXML
<lc:FormConnector
Properties
id="lcConnector"
Events
formInitialData="formInitListener(event)"
formSaveDataRequest="formSaveDataRequestListener(event)"
formSubmitDataRequest="formSubmitDataRequestListener(event)"/>
Powiązane elementy interfejsu API
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | EventDispatcher | |
Specifies that the Flex application has completed creation and binds the
required event listeners to events. | FormConnector | ||
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | EventDispatcher | |
![]() |
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
Initializes communication with Workspace. | FormConnector | ||
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Usuwa detektor z obiektu 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 | ||
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | 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 | ||
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
![]() |
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher | |
| Zdarzenie | Podsumowanie | Zdefiniowane przez | ||
|---|---|---|---|---|
![]() | [zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja środowiska wykonawczego AIR uzyskuje fokus w systemie operacyjnym i przechodzi w stan aktywny. | EventDispatcher | ||
![]() | [zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja AIR traci fokus w systemie operacyjnym i przechodzi w stan nieaktywny. | 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 | () | metoda |
public function creationComplete(event:Event):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that the Flex application has completed creation and binds the required event listeners to events.
Parametry
event:Event — Specifies that event the intialization of the object has completed.
|
initialized | () | metoda |
public function initialized(document:Object, id:String):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes communication with Workspace.
Parametry
document:Object — Specifies the application, built with Flex, to initialize.
| |
id:String — Reserved for future use.
|
setClean | () | metoda |
public function setClean():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes in the data have not been made in the Flex application.
setDataInvalid | () | metoda |
public function setDataInvalid():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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 | () | metoda |
public function setDataValid():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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 | () | metoda |
public function setDirty():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes have been made in the Flex application.
setReady | () | metoda |
public function setReady():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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 | () | metoda |
public function setSaveData(data:XML):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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.
Parametry
data:XML — Specifies data to save that is formatted as XML.
|
setSubmitData | () | metoda |
public function setSubmitData(data:XML):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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.
Parametry
data:XML — Specifies the data to submit to a process that is formatted as XML.
|
setSubmitDataInvalid | () | metoda |
public function setSubmitDataInvalid():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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 | Zdarzenie |
flash.events.DataEventwłaściwość DataEvent.type =
flash.events.DataEvent.FORM_INITIAL_DATA| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched after the Flex application has completed loading.
formSaveDataRequest | Zdarzenie |
flash.events.Eventwłaściwość Event.type =
flash.events.Event.FORM_SAVE_DATA_REQUEST| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched when a user clicks the Save Form Data button within Workspace.
formSubmitDataRequest | Zdarzenie |
flash.events.Eventwłaściwość Event.type =
flash.events.Event.FORM_SUBMIT_DATA_REQUEST| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | 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, 12:06 PM Z
Pokaż składnię MXML