BasicsImportExportEvent

An import or export event.

Extends

Static Properties

Name Description
AFTER_EXPORT = "afterExport" string Dispatched after a ImportExportEvent is exported. This event bubbles. This event is not cancelable.
AFTER_IMPORT = "afterImport" string Dispatched after importing a file into a ImportExportEvent. This event bubbles. This event is not cancelable.
BEFORE_EXPORT = "beforeExport" string Dispatched before a ImportExportEvent is exported. This event bubbles. This event is cancelable.
BEFORE_IMPORT = "beforeImport" string Dispatched before importing a file into a ImportExportEvent. This event bubbles. This event is cancelable.
FAILED_EXPORT = "failedExport" string Dispatched after a ImportExportEvent export is canceled or fails. This event bubbles. This event is not cancelable.

Instance Properties

Name Description Access
bubbles bool If true, the event supports the bubbling phase of propagation. read-only
cancelable bool If true, the default behavior of the event on its target can be canceled. read-only
currentTarget Object The current propagation target of the event. read-only
defaultPrevented bool If true, the default behavior of the event on its target has been canceled. read-only
eventPhase EventPhases The current propagation phase of the event. read-only
eventType string The name of the event. read-only
format string The import/export file format. read-only
fullName File The full path to the ImportExportEvent, including the name of the ImportExportEvent. read-only
id number The unique ID of the ImportExportEvent. read-only
index number The index of the ImportExportEvent within its containing object. read-only
isValid bool Returns true if the object specifier resolves to valid objects. read-only
parent The parent of the ImportExportEvent (a Application or Document). read-only
propagationStopped bool If true, propagation of the event beyond the current target has been stopped. read-only
properties Object A property that allows setting of several properties at the same time. read-write
target Object The target of the event. read-only
timeStamp Date The time the event was initialized. read-only
userInteractionLevel UserInteractionLevels Controls the display of dialogs and alerts during script processing. read-write

Methods

toSource(
)
 → string
toSpecifier(
)
 → string
getElements(
)
 → ImportExportEvent
Resolves the object specifier, creating an array of object references.
preventDefault(
)
Cancels the default behavior of the event on its target.
stopPropagation(
)
Stops propagation of the event beyond the current target.
toSource(
)
 → string
Generates a string which, if executed, will return the ImportExportEvent.
toSpecifier(
)
 → string
Retrieves the object specifier.