Package | lc.procmgmt.events |
Class | public class SwfDataEvent |
Inheritance | SwfDataEvent Event Object |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
SwfDataEvent
event is used to pass initial data from
Workspace ES2 to the application built with Flex (Flex application).
Communication between the Flex application you create and Workspace ES2 occurs when
events are dispatched to the sharedEvents.EventDispatcher
property on the
LoaderInfo
object of the Flex application you are creating. For example, to emit an event to
Workspace ES2, the Flex application does the following:
systemManager.loaderInfo.sharedEvents.dispatchEvent(new Event(SwfAppEvent.SET_TASK));
Property | Defined By | ||
---|---|---|---|
bubbles : Boolean [read-only]
Indicates whether an event is a bubbling event. | Event | ||
cancelable : Boolean [read-only]
Indicates whether the behavior associated with the event can be prevented. | Event | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
currentTarget : Object [read-only]
The object that is actively processing the Event object with an event listener. | Event | ||
data : String
The dispatched COMPLETE event. | SwfDataEvent | ||
eventPhase : uint [read-only]
The current phase in the event flow. | Event | ||
target : Object [read-only]
The event target. | Event | ||
task : lc.procmgmt.domain:Task
The Task object that is associated with the event. | SwfDataEvent | ||
type : String [read-only]
The type of event. | Event |
Method | Defined By | ||
---|---|---|---|
Constructor. | SwfDataEvent | ||
Duplicates an instance of an Event subclass. | Event | ||
A utility function for implementing the toString() method in custom
ActionScript 3.0 Event classes. | Event | ||
Indicates whether an object has a specified property defined. | Object | ||
Checks whether the preventDefault() method has been called on the event. | Event | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Cancels an event's default behavior if that behavior can be canceled. | Event | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Prevents processing of any event listeners in the current node and any subsequent nodes in
the event flow. | Event | ||
Prevents processing of any event listeners in nodes subsequent to the current node in the
event flow. | Event | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns a string containing all the properties of the Event object. | Event | ||
Returns the primitive value of the specified object. | Object |
Constant | Defined By | ||
---|---|---|---|
SET_WORKSPACE_DATA : String = "setWorkspaceData" [static]
A special value that specifies the value of the type property for a setTask
event. | SwfDataEvent |
data | property |
public var data:String
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The dispatched COMPLETE event. This value is populated with the data passed from Flex application to Workspace ES2.
task | property |
public var task:lc.procmgmt.domain:Task
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The Task
object that is associated with the event.
SwfDataEvent | () | Constructor |
public function SwfDataEvent(type:String, task:lc.procmgmt.domain:Task, data:String = null)
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
Parameterstype:String — Specifies the type of event.
| |
task:lc.procmgmt.domain:Task — Specifies the task that is associated with the event.
| |
data:String (default = null ) — Specifies the data for the event.
|
SET_WORKSPACE_DATA | Constant |
public static const SET_WORKSPACE_DATA:String = "setWorkspaceData"
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Document Services ES2 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
A special value that specifies the value of the type
property for a setTask
event. Use this value to retrieve information from Workspace ES2 and pass it to the Flex application.
This event is set to always bubble.
The properties of the event object have the following values:
Property | Value |
---|---|
type | The event type which was selected. |
task | The instance of the selected task. |
Wed Nov 21 2018, 06:34 AM -08:00