Class
An import or export event. Base Class: Event
getElements, preventDefault, stopPropagation, toSource, toSpecifier
ImportExportEvent
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bubbles | bool | readonly | If true, the event supports the bubbling phase of propagation. |
cancelable | bool | readonly | If true, the default behavior of the event on its target can be canceled. |
currentTarget | Object | readonly | The current propagation target of the event. |
defaultPrevented | bool | readonly | If true, the default behavior of the event on its target has been canceled. |
eventPhase | EventPhases: EventPhases.NOT_DISPATCHING EventPhases.AT_TARGET EventPhases.BUBBLING_PHASE EventPhases.DONE |
readonly | The current propagation phase of the event. |
eventType | string | readonly | The name of the event. |
format | string | readonly | The import/export file format. |
fullName | File | readonly | The full path to the ImportExportEvent, including the name of the ImportExportEvent. |
id | number | readonly | The unique ID of the ImportExportEvent. |
index | number | readonly | The index of the ImportExportEvent within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Application Document |
readonly | The parent of the ImportExportEvent (a Application or Document). |
propagationStopped | bool | readonly | If true, propagation of the event beyond the current target has been stopped. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
target | Object | readonly | The target of the event. |
timeStamp | Date | readonly | The time the event was initialized. |
Class
Property | Type | Access | Description |
---|---|---|---|
AFTER_EXPORT | string | readonly | Dispatched after a ImportExportEvent is exported. This event bubbles. This event is not cancelable. (default: afterExport) |
AFTER_IMPORT | string | readonly | Dispatched after importing a file into a ImportExportEvent. This event bubbles. This event is not cancelable. (default: afterImport) |
BEFORE_EXPORT | string | readonly | Dispatched before a ImportExportEvent is exported. This event bubbles. This event is cancelable. (default: beforeExport) |
BEFORE_IMPORT | string | readonly | Dispatched before importing a file into a ImportExportEvent. This event bubbles. This event is cancelable. (default: beforeImport) |
FAILED_EXPORT | string | readonly | Dispatched after a ImportExportEvent export is canceled or fails. This event bubbles. This event is not cancelable. (default: failedExport) |
Methods
Instances
Array of ImportExportEvent getElements ()
Resolves the object specifier, creating an array of object references.
void preventDefault ()
Cancels the default behavior of the event on its target.
void stopPropagation ()
Stops propagation of the event beyond the current target.
string toSource ()
Generates a string which, if executed, will return the ImportExportEvent.
Return
Array of ImportExportEvent ImportExportEvent.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |