ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.attachmentlist.domain.events 

AttachmentEvent  - AS3 ADEP Task Management

Packagecom.adobe.ep.ux.attachmentlist.domain.events
Classpublic class AttachmentEvent
InheritanceAttachmentEvent Inheritance Event Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The 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.



Public Properties
 PropertyDefined By
 Inheritedbubbles : Boolean
[read-only] Indicates whether an event is a bubbling event.
Event
 Inheritedcancelable : Boolean
[read-only] Indicates whether the behavior associated with the event can be prevented.
Event
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcurrentTarget : Object
[read-only] The object that is actively processing the Event object with an event listener.
Event
 InheritedeventPhase : uint
[read-only] The current phase in the event flow.
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
 Inheritedtarget : Object
[read-only] The event target.
Event
  taskId : String
The identifier of the task.
AttachmentEvent
 Inheritedtype : String
[read-only] The type of event.
Event
Public Methods
 MethodDefined By
 Inherited
Duplicates an instance of an Event subclass.
Event
 Inherited
formatToString(className:String, ... arguments):String
A utility function for implementing the toString() method in custom ActionScript 3.0 Event classes.
Event
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Checks whether the preventDefault() method has been called on the event.
Event
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Cancels an event's default behavior if that behavior can be canceled.
Event
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Prevents processing of any event listeners in the current node and any subsequent nodes in the event flow.
Event
 Inherited
Prevents processing of any event listeners in nodes subsequent to the current node in the event flow.
Event
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns a string containing all the properties of the Event object.
Event
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  ADD_ATTACHMENT : String = "addAttachment"
[static] The ADD_ATTACHMENT constant specifies when an attachment has been added.
AttachmentEvent
  REMOVE_ATTACHMENT : String = "removeAttachment"
[static] The REMOVE_ATTACHMENT constant dispatched when an attachment has been removed.
AttachmentEvent
  UPDATE_ATTACHMENT : String = "updateAttachment"
[static] The UPDATE_ATTACHMENT constant specifies that an attachment has been updated.
AttachmentEvent
  UPLOAD_ATTACHMENT : String = "uploadAttachment"
[static] The REMOVE_ATTACHMENT constant specifies when an attachment has been uploaded.
AttachmentEvent
  UPLOAD_FAILED : String = "uploadFailed"
[static] The REMOVE_ATTACHMENT constant specifies when the upload of attachment failed.
AttachmentEvent
Property Detail

fileName

property
fileName:String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The name of the source file.



Implementation
    public function get fileName():String
    public function set fileName(value:String):void

id

property 
id:String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: 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.



Implementation
    public function get id():String
    public function set id(value:String):void

id_list

property 
id_list:ArrayCollection

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

An ArrayCollection object of identifiers that were selected. This is populated when multiple items are selected.



Implementation
    public function get id_list():ArrayCollection
    public function set id_list(value:ArrayCollection):void

Related API Elements

taskId

property 
taskId:String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The identifier of the task.



Implementation
    public function get taskId():String
    public function set taskId(value:String):void
Constant Detail

ADD_ATTACHMENT

Constant
public static const ADD_ATTACHMENT:String = "addAttachment"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The ADD_ATTACHMENT constant specifies when an attachment has been added.

REMOVE_ATTACHMENT

Constant 
public static const REMOVE_ATTACHMENT:String = "removeAttachment"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The REMOVE_ATTACHMENT constant dispatched when an attachment has been removed.

UPDATE_ATTACHMENT

Constant 
public static const UPDATE_ATTACHMENT:String = "updateAttachment"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The UPDATE_ATTACHMENT constant specifies that an attachment has been updated.

UPLOAD_ATTACHMENT

Constant 
public static const UPLOAD_ATTACHMENT:String = "uploadAttachment"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The REMOVE_ATTACHMENT constant specifies when an attachment has been uploaded.

UPLOAD_FAILED

Constant 
public static const UPLOAD_FAILED:String = "uploadFailed"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The REMOVE_ATTACHMENT constant specifies when the upload of attachment failed.