套件 | 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, 03:47 PM Z