包 | lc.procmgmt.events |
类 | public class SwfDataEvent |
继承 | SwfDataEvent Event Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
SwfDataEvent
event is used to pass initial data from
Workspace to the application built with Flex (Flex application). It also passes
the associated Task object that provides context info and access to the Workspace
Manager classes if the Flex application requires deeper integration with Workspace.
Communication between the Flex application you create and Workspace 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, the Flex application does the following:
systemManager.loaderInfo.sharedEvents.dispatchEvent(new Event(SwfAppEvent.SET_TASK));
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
bubbles : Boolean [只读]
表示事件是否为冒泡事件。 | Event | ||
cancelable : Boolean [只读]
表示是否可以阻止与事件相关联的行为。 | Event | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
currentTarget : Object [只读]
当前正在使用某个事件侦听器处理 Event 对象的对象。 | Event | ||
data : String
The data contents for the task - usually XML that has been converted to a String. | SwfDataEvent | ||
eventPhase : uint [只读]
事件流中的当前阶段。 | Event | ||
target : Object [只读]
事件目标。 | Event | ||
task : lc.procmgmt.domain:Task
The Task object that is associated with the event. | SwfDataEvent | ||
type : String [只读]
事件的类型。 | Event |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | SwfDataEvent | ||
复制 Event 子类的实例。 | Event | ||
用于在自定义 ActionScript 3.0 Event 类中实现 toString() 方法的实用程序函数。 | Event | ||
表示对象是否已经定义了指定的属性。 | Object | ||
检查是否已对事件调用 preventDefault() 方法。 | Event | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
如果可以取消事件的默认行为,则取消该行为。 | Event | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
防止对事件流中当前节点中和所有后续节点中的事件侦听器进行处理。 | Event | ||
防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。 | Event | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回一个字符串,其中包含 Event 对象的所有属性。 | Event | ||
返回指定对象的原始值。 | Object |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
SET_WORKSPACE_DATA : String = "setWorkspaceData" [静态]
The type property for a SwfDataEvent event. | SwfDataEvent |
属性详细信息
data | 属性 |
public var data:String
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The data contents for the task - usually XML that has been converted to a String.
task | 属性 |
public var task:lc.procmgmt.domain:Task
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The Task
object that is associated with the event.
构造函数详细信息
SwfDataEvent | () | 构造函数 |
public function SwfDataEvent(type:String, task:lc.procmgmt.domain:Task, data:String = null)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
参数type: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 | 常量 |
public static const SET_WORKSPACE_DATA:String = "setWorkspaceData"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The type
property for a SwfDataEvent
event.
This event is set to always bubble.
The properties of the event object have the following values:
Property | Value |
---|---|
data | The data contents for the task. |
task | The instance of the selected task. |
Tue Jun 12 2018, 11:04 AM Z