EventListeners

A collection of event listeners.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

EventListener [] (index:Number)

Returns the EventListener with the specified index.

Parameter

Type

Description

index

Number

The index.

EventListener add (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean], withProperties:Object)

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

withProperties

Object

Initial values for properties of the new EventListener (Optional)

EventListener anyItem ()

Returns any EventListener in the collection.

Number count ()

Displays the number of elements in the EventListener.

EventListener everyItem ()

Returns every EventListener in the collection.

EventListener firstItem ()

Returns the first EventListener in the collection.

EventListener item (index:Varies LongInteger String)

Returns the EventListener with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

EventListener itemByID (id:Number)

Returns the EventListener with the specified ID.

Parameter

Type

Description

id

Number

The ID.

EventListener itemByName (name:String)

Returns the EventListener with the specified name.

Parameter

Type

Description

name

String

The name.

EventListener itemByRange (from:Varies EventListener LongInteger String, to:Varies EventListener LongInteger String)

Returns the EventListeners within the specified range.

Parameter

Type

Description

from

EventListener

LongInteger

String

The EventListener, index, or name at the beginning of the range. Can accept: EventListener, Long Integer or String.

to

EventListener

LongInteger

String

The EventListener, index, or name at the end of the range. Can accept: EventListener, Long Integer or String.

EventListener lastItem ()

Returns the last EventListener in the collection.

EventListener middleItem ()

Returns the middle EventListener in the collection.

EventListener nextItem (obj:EventListener)

Returns the EventListener whose index follows the specified EventListener in the collection.

Parameter

Type

Description

obj

EventListener

The EventListener whose index comes before the desired EventListener.

EventListener previousItem (obj:EventListener)

Returns the EventListener with the index previous to the specified index.

Parameter

Type

Description

obj

EventListener

The index of the EventListener that follows the desired EventListener.

String toSource ()

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

Object of

Assignment.eventListeners

AssignedStory.eventListeners

PlaceGun.eventListeners

IdleTask.eventListeners

ScriptArg.eventListeners

Application.eventListeners

BackgroundTask.eventListeners

Document.eventListeners

Window.eventListeners

LayoutWindow.eventListeners

StoryWindow.eventListeners

ContentPlacerObject.eventListeners

Book.eventListeners

BookContent.eventListeners

Ink.eventListeners

TrapPreset.eventListeners

MixedInk.eventListeners

MixedInkGroup.eventListeners

Gradient.eventListeners

GradientStop.eventListeners

Swatch.eventListeners

Color.eventListeners

Tint.eventListeners

ColorGroup.eventListeners

ColorGroupSwatch.eventListeners

OpacityGradientStop.eventListeners

DataMergeTextPlaceholder.eventListeners

DataMergeImagePlaceholder.eventListeners

DataMergeField.eventListeners

DataMergeQrcodePlaceholder.eventListeners

Hyperlink.eventListeners

Bookmark.eventListeners

HyperlinkPageItemSource.eventListeners

HyperlinkTextSource.eventListeners

HyperlinkTextDestination.eventListeners

HyperlinkPageDestination.eventListeners

HyperlinkExternalPageDestination.eventListeners

HyperlinkURLDestination.eventListeners

CrossReferenceFormat.eventListeners

CrossReferenceSource.eventListeners

BuildingBlock.eventListeners

ParagraphDestination.eventListeners

Index.eventListeners

IndexOptions.eventListeners

Topic.eventListeners

CrossReference.eventListeners

PageReference.eventListeners

IndexSection.eventListeners

FormField.eventListeners

Button.eventListeners

State.eventListeners

MultiStateObject.eventListeners

CheckBox.eventListeners

ComboBox.eventListeners

ListBox.eventListeners

RadioButton.eventListeners

TextBox.eventListeners

SignatureField.eventListeners

Movie.eventListeners

NavigationPoint.eventListeners

Sound.eventListeners

Behavior.eventListeners

GotoFirstPageBehavior.eventListeners

GotoLastPageBehavior.eventListeners

GotoNextPageBehavior.eventListeners

GotoPreviousPageBehavior.eventListeners

GotoNextViewBehavior.eventListeners

GotoPreviousViewBehavior.eventListeners

GotoURLBehavior.eventListeners

MovieBehavior.eventListeners

ShowHideFieldsBehavior.eventListeners

AnimationBehavior.eventListeners

OpenFileBehavior.eventListeners

GotoNextStateBehavior.eventListeners

GotoPreviousStateBehavior.eventListeners

GotoStateBehavior.eventListeners

ViewZoomBehavior.eventListeners

SoundBehavior.eventListeners

GotoAnchorBehavior.eventListeners

GotoPageBehavior.eventListeners

ClearFormBehavior.eventListeners

PrintFormBehavior.eventListeners

SubmitFormBehavior.eventListeners

TimingSetting.eventListeners

TimingList.eventListeners

TimingGroup.eventListeners

TimingTarget.eventListeners

Layer.eventListeners

Spread.eventListeners

Page.eventListeners

MasterSpread.eventListeners

PDFAttribute.eventListeners

PageItem.eventListeners

Oval.eventListeners

Rectangle.eventListeners

GraphicLine.eventListeners

Polygon.eventListeners

Group.eventListeners

Image.eventListeners

EPS.eventListeners

PDF.eventListeners

WMF.eventListeners

PICT.eventListeners

Graphic.eventListeners

TransformationMatrix.eventListeners

FrameFittingOption.eventListeners

Guide.eventListeners

TextWrapPreference.eventListeners

ContourOption.eventListeners

Section.eventListeners

Path.eventListeners

PathPoint.eventListeners

SplineItem.eventListeners

EPSText.eventListeners

ImportedPage.eventListeners

SVG.eventListeners

MathObject.eventListeners

MediaItem.eventListeners

Snippet.eventListeners

TransformAttributeOption.eventListeners

MotionPreset.eventListeners

Article.eventListeners

ArticleMember.eventListeners

ArticleChild.eventListeners

HtmlItem.eventListeners

Library.eventListeners

Asset.eventListeners

Link.eventListeners

HttpLinkConnectionManagerObject.eventListeners

LinkMetadata.eventListeners

ObjectStyle.eventListeners

ObjectStyleExportTagMap.eventListeners

PDFComment.eventListeners

Reply.eventListeners

StoryPreference.eventListeners

TextFramePreference.eventListeners

TextPreference.eventListeners

TextDefault.eventListeners

DocumentPreference.eventListeners

GridPreference.eventListeners

GuidePreference.eventListeners

MarginPreference.eventListeners

PasteboardPreference.eventListeners

ViewPreference.eventListeners

DocumentPreset.eventListeners

PrintPreference.eventListeners

PrintBookletOption.eventListeners

PrintBookletPrintPreference.eventListeners

EPSExportPreference.eventListeners

ToolBox.eventListeners

ImagePreference.eventListeners

ImageIOPreference.eventListeners

ClippingPathSettings.eventListeners

GraphicLayerOption.eventListeners

GraphicLayer.eventListeners

IMEPreference.eventListeners

PDFExportPreference.eventListeners

PDFExportPreset.eventListeners

PDFPlacePreference.eventListeners

InteractivePDFExportPreference.eventListeners

TaggedPDFPreference.eventListeners

EndnoteOption.eventListeners

FontSyncPreference.eventListeners

PageItemDefault.eventListeners

ObjectExportOption.eventListeners

TextEditingPreference.eventListeners

MojikumiUiPreference.eventListeners

FontLockingPreference.eventListeners

DictionaryPreference.eventListeners

PolygonPreference.eventListeners

SpellPreference.eventListeners

AutoCorrectPreference.eventListeners

SmartGuidePreference.eventListeners

EPSImportPreference.eventListeners

ImportedPageAttribute.eventListeners

StrokeFillProxySetting.eventListeners

AdjustLayoutPreference.eventListeners

Preference.eventListeners

ScriptPreference.eventListeners

ColorSetting.eventListeners

FindChangeTextOption.eventListeners

FindChangeGrepOption.eventListeners

FindChangeGlyphOption.eventListeners

FindChangeObjectOption.eventListeners

FindChangeTransliterateOption.eventListeners

FindTextPreference.eventListeners

FindGrepPreference.eventListeners

FindGlyphPreference.eventListeners

FindObjectPreference.eventListeners

FindTransliteratePreference.eventListeners

ChangeTextPreference.eventListeners

ChangeGrepPreference.eventListeners

ChangeGlyphPreference.eventListeners

ChangeObjectPreference.eventListeners

ChangeTransliteratePreference.eventListeners

FindChangeColorOption.eventListeners

FindColorPreference.eventListeners

ChangeColorPreference.eventListeners

LinkingPreference.eventListeners

InCopyExportOption.eventListeners

PrinterPreset.eventListeners

XMLImportPreference.eventListeners

XMLExportPreference.eventListeners

XMLPreference.eventListeners

ExportForWebPreference.eventListeners

AnchoredObjectDefault.eventListeners

AnchoredObjectSetting.eventListeners

BaselineFrameGridOption.eventListeners

FootnoteOption.eventListeners

PageNumberVariablePreference.eventListeners

ChapterNumberVariablePreference.eventListeners

DateVariablePreference.eventListeners

FileNameVariablePreference.eventListeners

MatchCharacterStylePreference.eventListeners

MatchParagraphStylePreference.eventListeners

CustomTextVariablePreference.eventListeners

CaptionMetadataVariablePreference.eventListeners

GridDataInformation.eventListeners

LayoutGridDataInformation.eventListeners

StoryGridDataInformation.eventListeners

CjkGridPreference.eventListeners

GridPrintingPreference.eventListeners

GalleyPreference.eventListeners

FlattenerPreset.eventListeners

FlattenerPreference.eventListeners

TransparencyPreference.eventListeners

TransparencySetting.eventListeners

StrokeTransparencySetting.eventListeners

FillTransparencySetting.eventListeners

BlendingSetting.eventListeners

DropShadowSetting.eventListeners

FeatherSetting.eventListeners

InnerShadowSetting.eventListeners

OuterGlowSetting.eventListeners

InnerGlowSetting.eventListeners

BevelAndEmbossSetting.eventListeners

SatinSetting.eventListeners

ContentTransparencySetting.eventListeners

DirectionalFeatherSetting.eventListeners

GradientFeatherSetting.eventListeners

FindChangeTransparencySetting.eventListeners

FindChangeStrokeTransparencySetting.eventListeners

FindChangeFillTransparencySetting.eventListeners

FindChangeContentTransparencySetting.eventListeners

FindChangeBlendingSetting.eventListeners

FindChangeDropShadowSetting.eventListeners

FindChangeFeatherSetting.eventListeners

FindChangeInnerShadowSetting.eventListeners

FindChangeOuterGlowSetting.eventListeners

FindChangeInnerGlowSetting.eventListeners

FindChangeBevelAndEmbossSetting.eventListeners

FindChangeSatinSetting.eventListeners

FindChangeDirectionalFeatherSetting.eventListeners

FindChangeGradientFeatherSetting.eventListeners

TextImportPreference.eventListeners

TextExportPreference.eventListeners

WordRTFImportPreference.eventListeners

TaggedTextExportPreference.eventListeners

TaggedTextImportPreference.eventListeners

ExcelImportPreference.eventListeners

MetadataPreference.eventListeners

DisplayPerformancePreference.eventListeners

DisplaySetting.eventListeners

GpuPerformancePreference.eventListeners

XMLViewPreference.eventListeners

PreflightOption.eventListeners

PreflightBookOption.eventListeners

PNGExportPreference.eventListeners

ButtonPreference.eventListeners

WatermarkPreference.eventListeners

GeneralPreference.eventListeners

ClipboardPreference.eventListeners

TransformPreference.eventListeners

NotePreference.eventListeners

TrackChangesPreference.eventListeners

JPEGExportPreference.eventListeners

DataMergePreference.eventListeners

DataMergeOption.eventListeners

DataMerge.eventListeners

ChapterNumberPreference.eventListeners

ObjectStyleObjectEffectsCategorySettings.eventListeners

ObjectStyleStrokeEffectsCategorySettings.eventListeners

ObjectStyleFillEffectsCategorySettings.eventListeners

ObjectStyleContentEffectsCategorySettings.eventListeners

GrabberPreference.eventListeners

TypeContextualUiPreference.eventListeners

AlignDistributePreference.eventListeners

AnimationSetting.eventListeners

ConditionalTextPreference.eventListeners

EPubExportPreference.eventListeners

HTMLExportPreference.eventListeners

EPubFixedLayoutExportPreference.eventListeners

EPubExportPreviewAppPreference.eventListeners

HTMLFXLExportPreference.eventListeners

PublishExportPreference.eventListeners

LinkedStoryOption.eventListeners

ParaStyleMapping.eventListeners

CellStyleMapping.eventListeners

CharStyleMapping.eventListeners

TableStyleMapping.eventListeners

LinkedPageItemOption.eventListeners

PreflightRule.eventListeners

RuleDataObject.eventListeners

PreflightRuleInstance.eventListeners

PreflightProfile.eventListeners

PreflightProcess.eventListeners

PreflightProfileRule.eventListeners

StrokeStyle.eventListeners

DashedStrokeStyle.eventListeners

DottedStrokeStyle.eventListeners

StripedStrokeStyle.eventListeners

TOCStyle.eventListeners

TOCStyleEntry.eventListeners

Cell.eventListeners

Table.eventListeners

Column.eventListeners

Row.eventListeners

TableStyle.eventListeners

TableStyleGroup.eventListeners

CellStyle.eventListeners

CellStyleGroup.eventListeners

NestedLineStyle.eventListeners

NestedGrepStyle.eventListeners

Text.eventListeners

Character.eventListeners

Word.eventListeners

Line.eventListeners

TextColumn.eventListeners

Paragraph.eventListeners

TextStyleRange.eventListeners

InsertionPoint.eventListeners

TextFrame.eventListeners

Story.eventListeners

ParagraphStyle.eventListeners

CharacterStyle.eventListeners

TabStop.eventListeners

NestedStyle.eventListeners

Endnote.eventListeners

EndnoteRange.eventListeners

EndnoteTextFrame.eventListeners

Language.eventListeners

LanguageWithVendors.eventListeners

Font.eventListeners

KinsokuTable.eventListeners

MojikumiTable.eventListeners

HyphenationException.eventListeners

UserDictionary.eventListeners

AutoCorrectTable.eventListeners

Change.eventListeners

TextPath.eventListeners

Note.eventListeners

Footnote.eventListeners

TextVariable.eventListeners

TextVariableInstance.eventListeners

StyleExportTagMap.eventListeners

ParagraphStyleGroup.eventListeners

CharacterStyleGroup.eventListeners

CompositeFont.eventListeners

CompositeFontEntry.eventListeners

NamedGrid.eventListeners

IndexingSortOption.eventListeners

Bullet.eventListeners

NumberingRestartPolicy.eventListeners

NumberingList.eventListeners

ObjectStyleGroup.eventListeners

Condition.eventListeners

HiddenText.eventListeners

ConditionSet.eventListeners

PagesPanel.eventListeners

LibraryPanel.eventListeners

MenuAction.eventListeners

ScriptMenuAction.eventListeners

Menu.eventListeners

MenuElement.eventListeners

Submenu.eventListeners

MenuItem.eventListeners

MenuSeparator.eventListeners

Panel.eventListeners

Dialog.eventListeners

Widget.eventListeners

TextEditbox.eventListeners

StaticText.eventListeners

Dropdown.eventListeners

CheckboxControl.eventListeners

DialogColumn.eventListeners

RadiobuttonGroup.eventListeners

RadiobuttonControl.eventListeners

IntegerEditbox.eventListeners

IntegerCombobox.eventListeners

EnablingGroup.eventListeners

AngleCombobox.eventListeners

PercentCombobox.eventListeners

RealEditbox.eventListeners

PercentEditbox.eventListeners

AngleEditbox.eventListeners

RealCombobox.eventListeners

MeasurementCombobox.eventListeners

MeasurementEditbox.eventListeners

BorderPanel.eventListeners

DialogRow.eventListeners

XMLElement.eventListeners

XMLAttribute.eventListeners

XMLTag.eventListeners

XMLImportMap.eventListeners

XMLExportMap.eventListeners

ValidationError.eventListeners

XMLComment.eventListeners

XMLInstruction.eventListeners

XMLItem.eventListeners

DTD.eventListeners

XmlStory.eventListeners

XMLRuleProcessor.eventListeners

XMLRuleMatchData.eventListeners