包 | com.adobe.livecycle.content |
类 | public class FileEvent |
继承 | FileEvent Event Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
属性 | 由以下参数定义 | ||
---|---|---|---|
bubbles : Boolean [只读]
表示事件是否为冒泡事件。 | Event | ||
cancelable : Boolean [只读]
表示是否可以阻止与事件相关联的行为。 | Event | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
currentTarget : Object [只读]
当前正在使用某个事件侦听器处理 Event 对象的对象。 | Event | ||
eventPhase : uint [只读]
事件流中的当前阶段。 | Event | ||
filedata : ByteArray [只读]
Filedata is populated when API File.downloadContentToByteArray is invoked. | FileEvent | ||
target : Object [只读]
事件目标。 | Event | ||
type : String [只读]
事件的类型。 | Event |
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | FileEvent | ||
[覆盖]
Creates clone of a FileEvent instance. | FileEvent | ||
用于在自定义 ActionScript 3.0 Event 类中实现 toString() 方法的实用程序函数。 | Event | ||
表示对象是否已经定义了指定的属性。 | Object | ||
检查是否已对事件调用 preventDefault() 方法。 | Event | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
如果可以取消事件的默认行为,则取消该行为。 | Event | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
防止对事件流中当前节点中和所有后续节点中的事件侦听器进行处理。 | Event | ||
防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。 | Event | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回一个字符串,其中包含 Event 对象的所有属性。 | Event | ||
返回指定对象的原始值。 | Object |
常量 | 由以下参数定义 | ||
---|---|---|---|
FILE_CONTENT_CHANGE_EVENT : String = "fileContentChangeEvent" [静态]
The FILE_CONTENT_CHANGE_EVENT constant defines the event type. | FileEvent | ||
FILE_DELETED_EVENT : String = "fileDeletedEvent" [静态]
The FILE_DELETED_EVENT constant defines the event type. | FileEvent | ||
FILE_DOWNLOAD_COMPLETED_EVENT : String = "filedownloadCompletedEvent" [静态]
The FILE_DOWNLOAD_COMPLETED_EVENT constant defines the event type. | FileEvent | ||
FILE_METADATA_FILLED_EVENT : String = "fileMetaDataFilledEvent" [静态]
The FILE_METADATA_FILLED_EVENT constant defines the event type. | FileEvent | ||
FILE_UPLOAD_COMPLETED_EVENT : String = "fileUploadCompletedEvent" [静态]
The FILE_UPLOAD_COMPLETED_EVENT constant defines the event type. | FileEvent |
filedata | 属性 |
filedata:ByteArray
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Filedata is populated when API File.downloadContentToByteArray is invoked. In all other cases it is a value of null
.
实现
public function get filedata():ByteArray
FileEvent | () | 构造函数 |
public function FileEvent(eventName:String, filedata:ByteArray = null)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Constructor.
参数eventName:String — name of the event
| |
filedata:ByteArray (default = null ) — binary content in case when API File.downloadContentToByteArray is invoked.
|
clone | () | 方法 |
FILE_CONTENT_CHANGE_EVENT | 常量 |
public static const FILE_CONTENT_CHANGE_EVENT:String = "fileContentChangeEvent"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The FILE_CONTENT_CHANGE_EVENT constant defines the event type. The event is dispatched when content is changed on server and corresponding File instance is managed object.
FILE_DELETED_EVENT | 常量 |
public static const FILE_DELETED_EVENT:String = "fileDeletedEvent"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The FILE_DELETED_EVENT constant defines the event type. The event is dispatched when deleteFile is called on File and delete is completed on server.
FILE_DOWNLOAD_COMPLETED_EVENT | 常量 |
public static const FILE_DOWNLOAD_COMPLETED_EVENT:String = "filedownloadCompletedEvent"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The FILE_DOWNLOAD_COMPLETED_EVENT constant defines the event type. The event is dispatched when content download on filesystem gets completed.
FILE_METADATA_FILLED_EVENT | 常量 |
public static const FILE_METADATA_FILLED_EVENT:String = "fileMetaDataFilledEvent"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The FILE_METADATA_FILLED_EVENT constant defines the event type. The event is dispatched when fillMetaData is called on File and metadata is populated in File object.
FILE_UPLOAD_COMPLETED_EVENT | 常量 |
public static const FILE_UPLOAD_COMPLETED_EVENT:String = "fileUploadCompletedEvent"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Content 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The FILE_UPLOAD_COMPLETED_EVENT constant defines the event type. The event is dispatched when content upload on server gets completed.
Tue Jun 12 2018, 11:04 AM Z