包 | com.adobe.ep.ux.attachmentlist.domain.events |
类 | public class AttachmentEvent |
继承 | AttachmentEvent Event Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
AttachmentEvent
event is dispatched when the user adds, removes and uploads attachments.
The event is is also dispatched when the upload of an attachment fails.
属性 | 由以下参数定义 | ||
---|---|---|---|
bubbles : Boolean [只读]
表示事件是否为冒泡事件。 | Event | ||
cancelable : Boolean [只读]
表示是否可以阻止与事件相关联的行为。 | Event | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
currentTarget : Object [只读]
当前正在使用某个事件侦听器处理 Event 对象的对象。 | Event | ||
eventPhase : uint [只读]
事件流中的当前阶段。 | Event | ||
fileName : String
The name of the source file. | AttachmentEvent | ||
id : String
The identifier of the attachment that has the cursor. | AttachmentEvent | ||
id_list : ArrayCollection
An ArrayCollection object of identifiers that were selected. | AttachmentEvent | ||
target : Object [只读]
事件目标。 | Event | ||
taskId : String
The identifier of the task. | AttachmentEvent | ||
type : String [只读]
事件的类型。 | Event |
常量 | 由以下参数定义 | ||
---|---|---|---|
ADD_ATTACHMENT : String = "addAttachment" [静态]
The ADD_ATTACHMENT constant specifies when an attachment has been added. | AttachmentEvent | ||
REMOVE_ATTACHMENT : String = "removeAttachment" [静态]
The REMOVE_ATTACHMENT constant dispatched when an attachment has been removed. | AttachmentEvent | ||
UPDATE_ATTACHMENT : String = "updateAttachment" [静态]
The UPDATE_ATTACHMENT constant specifies that an attachment has been updated. | AttachmentEvent | ||
UPLOAD_ATTACHMENT : String = "uploadAttachment" [静态]
The REMOVE_ATTACHMENT constant specifies when an attachment has been uploaded. | AttachmentEvent | ||
UPLOAD_FAILED : String = "uploadFailed" [静态]
The REMOVE_ATTACHMENT constant specifies when the upload of attachment failed. | AttachmentEvent |
fileName | 属性 |
id | 属性 |
id:String
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The identifier of the attachment that has the cursor. When multiple items are selected, the last item that was selected is set to this value.
实现
public function get id():String
public function set id(value:String):void
id_list | 属性 |
id_list:ArrayCollection
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
An ArrayCollection
object of identifiers that were selected. This is populated when multiple
items are selected.
实现
public function get id_list():ArrayCollection
public function set id_list(value:ArrayCollection):void
相关 API 元素
taskId | 属性 |
ADD_ATTACHMENT | 常量 |
public static const ADD_ATTACHMENT:String = "addAttachment"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The ADD_ATTACHMENT
constant specifies when an attachment has been added.
REMOVE_ATTACHMENT | 常量 |
public static const REMOVE_ATTACHMENT:String = "removeAttachment"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The REMOVE_ATTACHMENT
constant dispatched when an attachment has been removed.
UPDATE_ATTACHMENT | 常量 |
public static const UPDATE_ATTACHMENT:String = "updateAttachment"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The UPDATE_ATTACHMENT
constant specifies that an attachment has been updated.
UPLOAD_ATTACHMENT | 常量 |
public static const UPLOAD_ATTACHMENT:String = "uploadAttachment"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The REMOVE_ATTACHMENT
constant specifies when an attachment has been uploaded.
UPLOAD_FAILED | 常量 |
public static const UPLOAD_FAILED:String = "uploadFailed"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Task Management 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The REMOVE_ATTACHMENT
constant specifies when the upload of attachment failed.
Tue Jun 12 2018, 11:04 AM Z