Пакет | lc.procmgmt.formbridge |
Класс | public class FormConnector |
Наследование | FormConnector EventDispatcher Object |
Реализует | IMXMLObject |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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 .
Синтаксис MXMLСкрыть синтаксис MXML<lc:FormConnector Properties id="lcConnector" Events formInitialData="formInitListener(event)" formSaveDataRequest="formSaveDataRequestListener(event)" formSubmitDataRequest="formSubmitDataRequestListener(event)"/>
Связанные элементы API
Метод | Определено | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии. | EventDispatcher | ||
Specifies that the Flex application has completed creation and binds the
required event listeners to events. | FormConnector | ||
Посылает событие в поток событий. | EventDispatcher | ||
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события. | EventDispatcher | ||
Показывает, определено ли заданное свойство для объекта. | Object | ||
Initializes communication with Workspace. | FormConnector | ||
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра. | Object | ||
Показывает наличие заданного свойства и его перечисляемость. | Object | ||
Удаляет прослушиватель из объекта 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 | ||
Задает доступность динамического свойства для операций цикла. | 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 | ||
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали. | Object | ||
Возвращает строковое представление заданного объекта. | Object | ||
Возвращает элементарное значение заданного объекта. | Object | ||
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником. | EventDispatcher |
Событие | Сводка | Определено | ||
---|---|---|---|---|
[многоадресное событие] Отправляется, когда проигрыватель Flash Player или приложение AIR перемещается в фокус операционной системы и становится активным. | EventDispatcher | |||
[многоадресное событие] Отправляется, когда проигрыватель Flash Player или приложение AIR теряет фокус системы и становится неактивным. | 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 | () | метод |
public function creationComplete(event:Event):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that the Flex application has completed creation and binds the required event listeners to events.
Параметры
event:Event — Specifies that event the intialization of the object has completed.
|
initialized | () | метод |
public function initialized(document:Object, id:String):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Initializes communication with Workspace.
Параметры
document:Object — Specifies the application, built with Flex, to initialize.
| |
id:String — Reserved for future use.
|
setClean | () | метод |
public function setClean():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes in the data have not been made in the Flex application.
setDataInvalid | () | метод |
public function setDataInvalid():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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 | () | метод |
public function setDataValid():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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 | () | метод |
public function setDirty():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies that changes have been made in the Flex application.
setReady | () | метод |
public function setReady():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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 | () | метод |
public function setSaveData(data:XML):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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.
Параметры
data:XML — Specifies data to save that is formatted as XML.
|
setSubmitData | () | метод |
public function setSubmitData(data:XML):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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.
Параметры
data:XML — Specifies the data to submit to a process that is formatted as XML.
|
setSubmitDataInvalid | () | метод |
public function setSubmitDataInvalid():void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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 | Событие |
flash.events.DataEvent
свойство DataEvent.type =
flash.events.DataEvent.FORM_INITIAL_DATA
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched after the Flex application has completed loading.
formSaveDataRequest | Событие |
flash.events.Event
свойство Event.type =
flash.events.Event.FORM_SAVE_DATA_REQUEST
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The event is dispatched when a user clicks the Save Form Data button within Workspace.
formSubmitDataRequest | Событие |
flash.events.Event
свойство Event.type =
flash.events.Event.FORM_SUBMIT_DATA_REQUEST
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Версии среды выполнения: | 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, 11:34 AM Z