Event

An event.

Methods:

getElements, preventDefault, stopPropagation, toSource, toSpecifier

Objects:

Boolean, Date, EventPhases, Number, Object, String,

Hierarchy:

Class: Event

Subclasses: PrintEvent | IdleEvent | MutationEvent | DocumentEvent | ImportExportEvent

Property Listing

Property

Type

Access

Description

bubbles

Boolean

readonly

If true, the event supports the bubbling phase of propagation.

cancelable

Boolean

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

Boolean

readonly

If true, the default behavior of the event on its target has been canceled.

eventPhase

EventPhases

EventPhases.AT_TARGET

EventPhases.BUBBLING_PHASE

EventPhases.DONE

EventPhases.NOT_DISPATCHING

readonly

The current propagation phase of the event.

eventType

String

readonly

The name of the event.

id

Number

readonly

The unique ID of the Event.

index

Number

readonly

The index of the Event within its containing object.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

AlignDistributePreference

AnchoredObjectDefault

AnchoredObjectSetting

AngleCombobox

AngleEditbox

AnimationBehavior

AnimationSetting

Application

Article

ArticleChild

ArticleMember

Asset

AssignedStory

Assignment

AutoCorrectPreference

AutoCorrectTable

AutofitAppearancePreferences

AutofitApplicationSettings

AutofitAutoResize

AutofitDocumentRelations

AutofitDocumentSettings

AutofitLimits

AutofitLineAppearance

AutofitMarkerAppearance

AutofitPageItemRelations

AutofitPageItemSettings

AutofitRelation

AutofitSourceRelations

AutofitTargetRelations

BackgroundTask

BaselineFrameGridOption

Behavior

BevelAndEmbossSetting

BlendingSetting

Book

BookContent

Bookmark

BorderPanel

BuildingBlock

Bullet

Button

ButtonPreference

CaptionMetadataVariablePreference

Cell

CellStyle

CellStyleGroup

CellStyleMapping

Change

ChangeGlyphPreference

ChangeGrepPreference

ChangeObjectPreference

ChangeTextPreference

ChangeTransliteratePreference

ChapterNumberPreference

ChapterNumberVariablePreference

CharStyleMapping

Character

CharacterStyle

CharacterStyleGroup

CheckBox

CheckboxControl

CjkGridPreference

ClearFormBehavior

ClipboardPreference

ClippingPathSettings

Color

ColorGroup

ColorGroupSwatch

ColorSetting

Column

ComboBox

CompositeFont

CompositeFontEntry

Condition

ConditionSet

ConditionalTextPreference

ContentPlacerObject

ContentTransparencySetting

ContourOption

CrossReference

CrossReferenceFormat

CrossReferenceSource

CustomTextVariablePreference

DTD

DashedStrokeStyle

DataMerge

DataMergeField

DataMergeImagePlaceholder

DataMergeOption

DataMergePreference

DataMergeQrcodePlaceholder

DataMergeTextPlaceholder

DateVariablePreference

Dialog

DialogColumn

DialogRow

DictionaryPreference

DirectionalFeatherSetting

DisplayPerformancePreference

DisplaySetting

Document

DocumentPreference

DocumentPreset

DottedStrokeStyle

DropShadowSetting

Dropdown

EPS

EPSExportPreference

EPSImportPreference

EPSText

EPubExportPreference

EPubExportPreviewAppPreference

EPubFixedLayoutExportPreference

EnablingGroup

Endnote

EndnoteOption

EndnoteRange

EndnoteTextFrame

ExcelImportPreference

ExportForWebPreference

FeatherSetting

FileNameVariablePreference

FillTransparencySetting

FindChangeBevelAndEmbossSetting

FindChangeBlendingSetting

FindChangeContentTransparencySetting

FindChangeDirectionalFeatherSetting

FindChangeDropShadowSetting

FindChangeFeatherSetting

FindChangeFillTransparencySetting

FindChangeGlyphOption

FindChangeGradientFeatherSetting

FindChangeGrepOption

FindChangeInnerGlowSetting

FindChangeInnerShadowSetting

FindChangeObjectOption

FindChangeOuterGlowSetting

FindChangeSatinSetting

FindChangeStrokeTransparencySetting

FindChangeTextOption

FindChangeTransliterateOption

FindChangeTransparencySetting

FindGlyphPreference

FindGrepPreference

FindObjectPreference

FindTextPreference

FindTransliteratePreference

FlattenerPreference

FlattenerPreset

Font

FontLockingPreference

Footnote

FootnoteOption

FormField

FrameFittingOption

GalleyPreference

GeneralPreference

GotoAnchorBehavior

GotoFirstPageBehavior

GotoLastPageBehavior

GotoNextPageBehavior

GotoNextStateBehavior

GotoNextViewBehavior

GotoPageBehavior

GotoPreviousPageBehavior

GotoPreviousStateBehavior

GotoPreviousViewBehavior

GotoStateBehavior

GotoURLBehavior

GpuPerformancePreference

GrabberPreference

Gradient

GradientFeatherSetting

GradientStop

Graphic

GraphicLayer

GraphicLayerOption

GraphicLine

GridDataInformation

GridPreference

GridPrintingPreference

Group

Guide

GuidePreference

HTMLExportPreference

HTMLFXLExportPreference

HiddenText

HtmlItem

HttpLinkConnectionManagerObject

Hyperlink

HyperlinkExternalPageDestination

HyperlinkPageDestination

HyperlinkPageItemSource

HyperlinkTextDestination

HyperlinkTextSource

HyperlinkURLDestination

HyphenationException

IDBasedObject

IMEPreference

IdleTask

Image

ImageIOPreference

ImagePreference

ImportedPage

ImportedPageAttribute

InCopyExportOption

Index

IndexOptions

IndexSection

IndexingSortOption

Ink

InnerGlowSetting

InnerShadowSetting

InsertionPoint

IntegerCombobox

IntegerEditbox

InteractivePDFExportPreference

JPEGExportPreference

KinsokuTable

Language

LanguageWithVendors

Layer

LayoutAdjustmentPreference

LayoutGridDataInformation

LayoutWindow

Library

LibraryPanel

Line

Link

LinkMetadata

LinkedPageItemOption

LinkedStoryOption

LinkingPreference

ListBox

MarginPreference

MasterSpread

MatchCharacterStylePreference

MatchParagraphStylePreference

MeasurementCombobox

MeasurementEditbox

MediaItem

Menu

MenuAction

MenuElement

MenuItem

MenuSeparator

MetadataPreference

MixedInk

MixedInkGroup

MojikumiTable

MojikumiUiPreference

MotionPreset

Movie

MovieBehavior

MultiStateObject

NamedGrid

NavigationPoint

NestedGrepStyle

NestedStyle

NonIDBasedObject

Note

NotePreference

NumberingList

NumberingRestartPolicy

ObjectExportOption

ObjectStyle

ObjectStyleContentEffectsCategorySettings

ObjectStyleExportTagMap

ObjectStyleFillEffectsCategorySettings

ObjectStyleGroup

ObjectStyleObjectEffectsCategorySettings

ObjectStyleStrokeEffectsCategorySettings

OpacityGradientStop

OpenFileBehavior

OuterGlowSetting

Oval

PDF

PDFAttribute

PDFExportPreference

PDFExportPreset

PDFPlacePreference

PICT

PNGExportPreference

Page

PageItem

PageItemDefault

PageNumberVariablePreference

PageReference

PagesPanel

Panel

ParaStyleMapping

Paragraph

ParagraphDestination

ParagraphStyle

ParagraphStyleGroup

PasteboardPreference

Path

PathPoint

PercentCombobox

PercentEditbox

PlaceGun

Polygon

PolygonPreference

Preference

PreflightBookOption

PreflightOption

PreflightProcess

PreflightProfile

PreflightProfileRule

PreflightRule

PreflightRuleInstance

PrintBookletOption

PrintBookletPrintPreference

PrintFormBehavior

PrintPreference

PrinterPreset

PublishExportPreference

RadioButton

RadiobuttonControl

RadiobuttonGroup

RealCombobox

RealEditbox

Rectangle

RootObject

Row

RuleDataObject

SWFExportPreference

SatinSetting

ScriptArg

ScriptMenuAction

ScriptPreference

Section

ShowHideFieldsBehavior

SignatureField

SmartGuidePreference

Snippet

Sound

SoundBehavior

SpellPreference

SplineItem

Spread

State

StaticText

Story

StoryGridDataInformation

StoryPreference

StoryWindow

StripedStrokeStyle

StrokeFillProxySetting

StrokeStyle

StrokeTransparencySetting

StyleExportTagMap

Submenu

SubmitFormBehavior

Swatch

TOCStyle

TOCStyleEntry

TabStop

Table

TableStyle

TableStyleGroup

TableStyleMapping

TaggedPDFPreference

TaggedTextExportPreference

TaggedTextImportPreference

Text

TextBox

TextColumn

TextDefault

TextEditbox

TextEditingPreference

TextExportPreference

TextFrame

TextFrameFootnoteOptionsObject

TextFramePreference

TextImportPreference

TextPath

TextPreference

TextStyleRange

TextVariable

TextVariableInstance

TextWrapPreference

TimingGroup

TimingList

TimingSetting

TimingTarget

Tint

ToolBox

Topic

TrackChangesPreference

TransformAttributeOption

TransformPreference

TransformationMatrix

TransparencyPreference

TransparencySetting

TrapPreset

TypeContextualUiPreference

TypefiAnchorPreferences

TypefiApplicationSettings

TypefiCounterFormatLanguagePreferences

TypefiDocumentSettings

TypefiElementAnchor

TypefiElementDefinition

TypefiElementInstance

TypefiElementPageItem

TypefiElementVariantDefinition

TypefiFieldDefinition

TypefiFilemanager

TypefiFrameItem

TypefiFramePreferences

TypefiHyperlinkPreferences

TypefiMarkerPreferences

TypefiMasterSpreadSettings

TypefiPageItemSettings

TypefiPageSettings

TypefiPaginationPreferences

TypefiPreflight

TypefiSectionDefinition

TypefiSectionInstance

TypefiSectionSettings

TypefiStyleSettings

TypefiTableSettings

UIDBasedObject

UserDictionary

ValidationError

ViewPreference

ViewZoomBehavior

WMF

WatermarkPreference

Widget

Window

Word

WordRTFImportPreference

XFLExportPreference

XMLAttribute

XMLComment

XMLElement

XMLExportMap

XMLExportPreference

XMLImportMap

XMLImportPreference

XMLInstruction

XMLItem

XMLPreference

XMLRuleMatchData

XMLRuleProcessor

XMLTag

XMLViewPreference

XmlStory

NestedLineStyle

Object

readonly

The parent of the Event (a Object, UIDBasedObject, TypefiElementAnchor, TypefiElementInstance, TypefiSectionInstance, TypefiFieldDefinition, TypefiElementVariantDefinition, TypefiElementDefinition, TypefiSectionDefinition, CellStyleGroup, CellStyle, TableStyleGroup, AutofitRelation, Article, ConditionSet, HiddenText, Condition, MotionPreset, AssignedStory, Assignment, ObjectStyleGroup, ObjectStyle, NumberingList, Snippet, Dialog, ColorGroup, Swatch, Color, Tint, Gradient, MixedInkGroup, MixedInk, Behavior, SubmitFormBehavior, PrintFormBehavior, ClearFormBehavior, GotoPageBehavior, GotoAnchorBehavior, SoundBehavior, ViewZoomBehavior, GotoStateBehavior, GotoPreviousStateBehavior, GotoNextStateBehavior, OpenFileBehavior, AnimationBehavior, ShowHideFieldsBehavior, MovieBehavior, GotoURLBehavior, GotoPreviousViewBehavior, GotoNextViewBehavior, GotoPreviousPageBehavior, GotoNextPageBehavior, GotoLastPageBehavior, GotoFirstPageBehavior, PreflightProfileRule, PreflightRuleInstance, PreflightProfile, CrossReferenceFormat, HyperlinkURLDestination, HyperlinkExternalPageDestination, HyperlinkPageDestination, HyperlinkTextDestination, ParagraphDestination, HyperlinkTextSource, CrossReferenceSource, HyperlinkPageItemSource, Bookmark, Hyperlink, IndexSection, PageReference, CrossReference, Index, TOCStyle, FlattenerPreset, BookContent, MenuAction, ScriptMenuAction, NamedGrid, CompositeFontEntry, CompositeFont, CharacterStyleGroup, ParagraphStyleGroup, TextVariableInstance, Footnote, XMLRuleProcessor, XMLTag, Note, TableStyle, TextPath, Asset, Link, Section, MojikumiTable, KinsokuTable, Guide, LanguageWithVendors, Language, PageItem, HtmlItem, FormField, SignatureField, TextBox, RadioButton, ListBox, ComboBox, CheckBox, MultiStateObject, Button, MediaItem, Sound, Movie, EPSText, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Graphic, ImportedPage, PICT, WMF, PDF, EPS, Image, Group, TextFrame, EndnoteTextFrame, EndnoteRange, Endnote, MasterSpread, TrapPreset, Ink, DocumentPreset, Page, Spread, Layer, CharacterStyle, ParagraphStyle, Story, XmlStory, IDBasedObject, ArticleChild, ArticleMember, DialogRow, DialogColumn, Widget, BorderPanel, MeasurementEditbox, MeasurementCombobox, RealCombobox, AngleEditbox, PercentEditbox, RealEditbox, PercentCombobox, AngleCombobox, EnablingGroup, IntegerCombobox, IntegerEditbox, RadiobuttonControl, RadiobuttonGroup, CheckboxControl, Dropdown, StaticText, TextEditbox, ColorGroupSwatch, BackgroundTask, State, RuleDataObject, XMLItem, DTD, XMLInstruction, XMLComment, XMLElement, Table, Cell, IdleTask, StrokeStyle, StripedStrokeStyle, DottedStrokeStyle, DashedStrokeStyle, GraphicLayer, NonIDBasedObject, TableStyleMapping, CharStyleMapping, CellStyleMapping, ParaStyleMapping, TimingTarget, TimingGroup, TimingList, OpacityGradientStop, ObjectStyleExportTagMap, DataMergeQrcodePlaceholder, DataMergeField, DataMergeImagePlaceholder, DataMergeTextPlaceholder, Panel, LibraryPanel, PagesPanel, Window, StoryWindow, LayoutWindow, NavigationPoint, PreflightProcess, PreflightRule, BuildingBlock, DisplaySetting, IndexingSortOption, Topic, TOCStyleEntry, MenuElement, MenuSeparator, MenuItem, Submenu, Menu, StyleExportTagMap, TextVariable, XMLRuleMatchData, ValidationError, XMLExportMap, XMLImportMap, XMLAttribute, PrinterPreset, Row, Column, Change, HttpLinkConnectionManagerObject, RootObject, Document, Application, Book, Library, Preference, TypefiFilemanager, TypefiPreflight, TypefiPaginationPreferences, TypefiCounterFormatLanguagePreferences, TypefiMarkerPreferences, TypefiFramePreferences, TypefiAnchorPreferences, TypefiHyperlinkPreferences, TypefiFrameItem, TypefiElementPageItem, TypefiMasterSpreadSettings, TypefiStyleSettings, TypefiTableSettings, TypefiPageSettings, TypefiSectionSettings, TypefiPageItemSettings, TypefiDocumentSettings, TypefiApplicationSettings, AutofitDocumentRelations, AutofitMarkerAppearance, AutofitLineAppearance, AutofitSourceRelations, AutofitTargetRelations, AutofitPageItemRelations, AutofitAutoResize, AutofitLimits, AutofitAppearancePreferences, AutofitPageItemSettings, AutofitDocumentSettings, AutofitApplicationSettings, ContentPlacerObject, LinkedPageItemOption, LinkedStoryOption, PublishExportPreference, HTMLFXLExportPreference, EPubExportPreviewAppPreference, EPubFixedLayoutExportPreference, HTMLExportPreference, EPubExportPreference, ConditionalTextPreference, TimingSetting, AnimationSetting, XFLExportPreference, SWFExportPreference, TransformAttributeOption, AlignDistributePreference, TypeContextualUiPreference, GrabberPreference, ObjectStyleContentEffectsCategorySettings, ObjectStyleFillEffectsCategorySettings, ObjectStyleStrokeEffectsCategorySettings, ObjectStyleObjectEffectsCategorySettings, ChapterNumberPreference, NumberingRestartPolicy, Bullet, DataMerge, DataMergeOption, DataMergePreference, JPEGExportPreference, TrackChangesPreference, NotePreference, TransformPreference, ClipboardPreference, GeneralPreference, WatermarkPreference, ButtonPreference, PNGExportPreference, PreflightBookOption, PreflightOption, XMLViewPreference, GpuPerformancePreference, DisplayPerformancePreference, IndexOptions, LinkMetadata, MetadataPreference, ExcelImportPreference, TaggedTextImportPreference, TaggedTextExportPreference, WordRTFImportPreference, TextExportPreference, TextImportPreference, FindChangeContentTransparencySetting, FindChangeFillTransparencySetting, FindChangeStrokeTransparencySetting, FindChangeTransparencySetting, GradientFeatherSetting, FindChangeGradientFeatherSetting, DirectionalFeatherSetting, FindChangeDirectionalFeatherSetting, ContentTransparencySetting, SatinSetting, FindChangeSatinSetting, BevelAndEmbossSetting, FindChangeBevelAndEmbossSetting, InnerGlowSetting, FindChangeInnerGlowSetting, OuterGlowSetting, FindChangeOuterGlowSetting, InnerShadowSetting, FindChangeInnerShadowSetting, FeatherSetting, FindChangeFeatherSetting, DropShadowSetting, FindChangeDropShadowSetting, BlendingSetting, FindChangeBlendingSetting, FillTransparencySetting, StrokeTransparencySetting, TransparencySetting, TransparencyPreference, FlattenerPreference, GalleyPreference, GridPrintingPreference, CjkGridPreference, StoryGridDataInformation, LayoutGridDataInformation, GridDataInformation, CaptionMetadataVariablePreference, CustomTextVariablePreference, MatchParagraphStylePreference, MatchCharacterStylePreference, FileNameVariablePreference, DateVariablePreference, ChapterNumberVariablePreference, PageNumberVariablePreference, FootnoteOption, BaselineFrameGridOption, AnchoredObjectSetting, AnchoredObjectDefault, ExportForWebPreference, XMLPreference, XMLExportPreference, XMLImportPreference, InCopyExportOption, LinkingPreference, ChangeTransliteratePreference, ChangeObjectPreference, ChangeGlyphPreference, ChangeGrepPreference, ChangeTextPreference, FindTransliteratePreference, FindObjectPreference, FindGlyphPreference, FindGrepPreference, FindTextPreference, FindChangeTransliterateOption, FindChangeObjectOption, FindChangeGlyphOption, FindChangeGrepOption, FindChangeTextOption, ColorSetting, ScriptArg, ScriptPreference, PlaceGun, LayoutAdjustmentPreference, StrokeFillProxySetting, ImportedPageAttribute, EPSImportPreference, SmartGuidePreference, AutoCorrectPreference, SpellPreference, PolygonPreference, DictionaryPreference, FontLockingPreference, MojikumiUiPreference, ContourOption, TextWrapPreference, TextEditingPreference, FrameFittingOption, ObjectExportOption, PageItemDefault, EndnoteOption, TextFrameFootnoteOptionsObject, TaggedPDFPreference, InteractivePDFExportPreference, PDFAttribute, PDFPlacePreference, PDFExportPreference, IMEPreference, GraphicLayerOption, ClippingPathSettings, ImageIOPreference, ImagePreference, ToolBox, EPSExportPreference, PrintBookletPrintPreference, PrintBookletOption, PrintPreference, ViewPreference, PasteboardPreference, MarginPreference, GuidePreference, GridPreference, DocumentPreference, TextDefault, TextPreference, TextFramePreference, StoryPreference, PathPoint, Path, GradientStop, AutoCorrectTable, UserDictionary, HyphenationException, Font, TransformationMatrix, PDFExportPreset, NestedStyle, TabStop, Text, InsertionPoint, TextStyleRange, Paragraph, TextColumn, Line, Word, Character, NestedGrepStyle or NestedLineStyle).

propagationStopped

Boolean

readonly

If true, propagation of the event beyond the current target has been stopped.

properties

Object

read/write

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.

Constants/Events

Name

Type

Access

Description

AFTER_ACTIVATE

String

readonly

Dispatched after the Event becomes active. This event bubbles. This event is not cancelable.

AFTER_CLOSE

String

readonly

Dispatched when a Event is closing. Since the close has been committed, it can no longer be canceled. This event bubbles. This event is not cancelable.

AFTER_CONTEXT_CHANGED

String

readonly

Dispatched after the active context changes. This event bubbles. This event is not cancelable.

AFTER_DELETE

String

readonly

Dispatched after a Event is deleted. This event bubbles. This event is not cancelable.

AFTER_EMBED

String

readonly

Dispatched after a Event is embedded. This event bubbles. This event is not cancelable.

AFTER_INVOKE

String

readonly

Dispatched after the Event is invoked. This event does not bubble. This event is not cancelable.

AFTER_LINKS_CHANGED

String

readonly

Dispatched after one or more links in the Event have been added, deleted, or modified. This event bubbles. This event is not cancelable.

AFTER_MOVE

String

readonly

Dispatched after a Event is relocated from one object to another. This event bubbles. This event is not cancelable.

AFTER_NEW

String

readonly

Dispatched after a Event is created. This event bubbles. This event is not cancelable.

AFTER_OPEN

String

readonly

Dispatched after a Event is opened. This event bubbles. This event is not cancelable.

AFTER_PLACE

String

readonly

Dispatched after a Event is placed. This event bubbles. This event is not cancelable.

AFTER_QUIT

String

readonly

Dispatched when the Event is quitting. Since the quit has been committed, it can not be canceled. This event bubbles. This event is not cancelable.

AFTER_SELECTION_ATTRIBUTE_CHANGED

String

readonly

Dispatched after an attribute on the active selection changes. This event bubbles. This event is not cancelable.

AFTER_SELECTION_CHANGED

String

readonly

Dispatched after the active selection changes. This event bubbles. This event is not cancelable.

AFTER_UNEMBED

String

readonly

Dispatched after a Event is unembedded. This event bubbles. This event is not cancelable.

AFTER_UPDATE

String

readonly

Dispatched after a Event is updated. This event bubbles. This event is not cancelable.

BEFORE_CLOSE

String

readonly

Dispatched before a Event is closed. This event bubbles. This event is cancelable.

BEFORE_DEACTIVATE

String

readonly

Dispatched before the Event becomes inactive. This event bubbles. This event is not cancelable.

BEFORE_DELETE

String

readonly

Dispatched before a Event is deleted. This event bubbles. This event is cancelable.

BEFORE_DISPLAY

String

readonly

Dispatched before the Event is displayed. This event does not bubble. This event is not cancelable.

BEFORE_EMBED

String

readonly

Dispatched before a Event is embedded. This event bubbles. This event is cancelable.

BEFORE_INVOKE

String

readonly

Dispatched before the Event is invoked. This event does not bubble. This event is cancelable.

BEFORE_MOVE

String

readonly

Dispatched before a Event is relocated from one object to another. This event bubbles. This event is cancelable.

BEFORE_PLACE

String

readonly

Dispatched before a Event is placed. This event bubbles. This event is cancelable.

BEFORE_QUIT

String

readonly

Dispatched before the Event is quit. Allows the quit to be canceled. This event bubbles. This event is cancelable.

BEFORE_UNEMBED

String

readonly

Dispatched before a Event is unembedded. This event bubbles. This event is cancelable.

BEFORE_UPDATE

String

readonly

Dispatched before a Event is updated. This event bubbles. This event is cancelable.

ON_INVOKE

String

readonly

Dispatched when the Event is invoked. This event does not bubble. This event is not cancelable.

Method Listing

Event getElements ()

Resolves the object specifier, creating an array of object references.

undefined preventDefault ()

Cancels the default behavior of the event on its target.

undefined stopPropagation ()

Stops propagation of the event beyond the current target.

String toSource ()

Generates a string which, if executed, will return the Event.

String toSpecifier ()

Retrieves the object specifier.

Object of

MutationEvent.parent

Return

Event.getElements()

Events.anyItem()

Events.everyItem()

Events.nextItem()

Events.previousItem()

Events.itemByID()

Events.item()

Events.[]()

Events.itemByRange()

Events.firstItem()

Events.lastItem()

Events.middleItem()