Adobe InDesign CS5 Server (7.0) Object Model JS: EventListeners

InDesign Server CS5

Class

EventListeners

 A collection of event listeners.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

EventListener [] (index: number)
Returns the EventListener with the specified index.

ParameterTypeDescription
indexnumberThe index.

EventListener add (eventType: string, handler: varies[, captures: bool=false][, withProperties: Object])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)
withPropertiesObjectInitial 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.

Array of EventListener everyItem ()
Returns every EventListener in the collection.

EventListener firstItem ()
Returns the first EventListener in the collection.

EventListener item (index: varies)
Returns the EventListener with the specified index or name.

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

EventListener itemByID (id: number)
Returns the EventListener with the specified ID.

ParameterTypeDescription
idnumberThe ID.

EventListener itemByName (name: string)
Returns the EventListener with the specified name.

ParameterTypeDescription
namestringThe name.

Array of EventListener itemByRange (from: varies, to: varies)
Returns the EventListeners within the specified range.

ParameterTypeDescription
fromEventListener
Long Integer
String
The EventListener, index, or name at the beginning of the range. Can accept: EventListener, Long Integer or String.
toEventListener
Long Integer
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.

ParameterTypeDescription
objEventListenerThe EventListener whose index comes before the desired EventListener.

EventListener previousItem (obj: EventListener)
Returns the EventListener with the index previous to the specified index.

ParameterTypeDescription
objEventListenerThe index of the EventListener that follows the desired EventListener.

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

Element of

AlignDistributePreference.eventListeners

AnchoredObjectDefault.eventListeners

AnchoredObjectSetting.eventListeners

AnimationBehavior.eventListeners

AnimationSetting.eventListeners

Application.eventListeners

Asset.eventListeners

AssignedStory.eventListeners

Assignment.eventListeners

AutoCorrectPreference.eventListeners

AutoCorrectTable.eventListeners

BaselineFrameGridOption.eventListeners

Behavior.eventListeners

BevelAndEmbossSetting.eventListeners

BlendingSetting.eventListeners

Book.eventListeners

BookContent.eventListeners

Bookmark.eventListeners

BuildingBlock.eventListeners

Bullet.eventListeners

Button.eventListeners

ButtonPreference.eventListeners

CaptionMetadataVariablePreference.eventListeners

Cell.eventListeners

CellStyle.eventListeners

CellStyleGroup.eventListeners

Change.eventListeners

ChangeGlyphPreference.eventListeners

ChangeGrepPreference.eventListeners

ChangeObjectPreference.eventListeners

ChangeTextPreference.eventListeners

ChangeTransliteratePreference.eventListeners

ChapterNumberPreference.eventListeners

ChapterNumberVariablePreference.eventListeners

Character.eventListeners

CharacterStyle.eventListeners

CharacterStyleGroup.eventListeners

CjkGridPreference.eventListeners

ClipboardPreference.eventListeners

ClippingPathSettings.eventListeners

Color.eventListeners

ColorSetting.eventListeners

Column.eventListeners

CompositeFont.eventListeners

CompositeFontEntry.eventListeners

Condition.eventListeners

ConditionSet.eventListeners

ConditionalTextPreference.eventListeners

ContentTransparencySetting.eventListeners

ContourOption.eventListeners

CrossReference.eventListeners

CrossReferenceFormat.eventListeners

CrossReferenceSource.eventListeners

CustomTextVariablePreference.eventListeners

DTD.eventListeners

DashedStrokeStyle.eventListeners

DataMerge.eventListeners

DataMergeField.eventListeners

DataMergeImagePlaceholder.eventListeners

DataMergeOption.eventListeners

DataMergePreference.eventListeners

DataMergeTextPlaceholder.eventListeners

DateVariablePreference.eventListeners

DictionaryPreference.eventListeners

DirectionalFeatherSetting.eventListeners

Document.eventListeners

DocumentPreference.eventListeners

DocumentPreset.eventListeners

DottedStrokeStyle.eventListeners

DropShadowSetting.eventListeners

EPS.eventListeners

EPSExportPreference.eventListeners

EPSImportPreference.eventListeners

EPSText.eventListeners

ErrorListError.eventListeners

ExcelImportPreference.eventListeners

ExportForWebPreference.eventListeners

FeatherSetting.eventListeners

FileNameVariablePreference.eventListeners

FillTransparencySetting.eventListeners

FindChangeBevelAndEmbossSetting.eventListeners

FindChangeBlendingSetting.eventListeners

FindChangeContentTransparencySetting.eventListeners

FindChangeDirectionalFeatherSetting.eventListeners

FindChangeDropShadowSetting.eventListeners

FindChangeFeatherSetting.eventListeners

FindChangeFillTransparencySetting.eventListeners

FindChangeGlyphOption.eventListeners

FindChangeGradientFeatherSetting.eventListeners

FindChangeGrepOption.eventListeners

FindChangeInnerGlowSetting.eventListeners

FindChangeInnerShadowSetting.eventListeners

FindChangeObjectOption.eventListeners

FindChangeOuterGlowSetting.eventListeners

FindChangeSatinSetting.eventListeners

FindChangeStrokeTransparencySetting.eventListeners

FindChangeTextOption.eventListeners

FindChangeTransliterateOption.eventListeners

FindChangeTransparencySetting.eventListeners

FindGlyphPreference.eventListeners

FindGrepPreference.eventListeners

FindObjectPreference.eventListeners

FindTextPreference.eventListeners

FindTransliteratePreference.eventListeners

FlattenerPreference.eventListeners

FlattenerPreset.eventListeners

Font.eventListeners

FontLockingPreference.eventListeners

Footnote.eventListeners

FootnoteOption.eventListeners

FormField.eventListeners

FrameFittingOption.eventListeners

GeneralPreference.eventListeners

GotoAnchorBehavior.eventListeners

GotoFirstPageBehavior.eventListeners

GotoLastPageBehavior.eventListeners

GotoNextPageBehavior.eventListeners

GotoNextStateBehavior.eventListeners

GotoNextViewBehavior.eventListeners

GotoPageBehavior.eventListeners

GotoPreviousPageBehavior.eventListeners

GotoPreviousStateBehavior.eventListeners

GotoPreviousViewBehavior.eventListeners

GotoStateBehavior.eventListeners

GotoURLBehavior.eventListeners

Gradient.eventListeners

GradientFeatherSetting.eventListeners

GradientStop.eventListeners

Graphic.eventListeners

GraphicLayer.eventListeners

GraphicLayerOption.eventListeners

GraphicLine.eventListeners

GridDataInformation.eventListeners

GridPreference.eventListeners

GridPrintingPreference.eventListeners

Group.eventListeners

Guide.eventListeners

GuidePreference.eventListeners

HiddenText.eventListeners

Hyperlink.eventListeners

HyperlinkExternalPageDestination.eventListeners

HyperlinkPageDestination.eventListeners

HyperlinkPageItemSource.eventListeners

HyperlinkTextDestination.eventListeners

HyperlinkTextSource.eventListeners

HyperlinkURLDestination.eventListeners

HyphenationException.eventListeners

IdleTask.eventListeners

Image.eventListeners

ImageIOPreference.eventListeners

ImagePreference.eventListeners

ImportedPage.eventListeners

ImportedPageAttribute.eventListeners

InCopyExportOption.eventListeners

Index.eventListeners

IndexOptions.eventListeners

IndexSection.eventListeners

IndexingSortOption.eventListeners

Ink.eventListeners

InnerGlowSetting.eventListeners

InnerShadowSetting.eventListeners

InsertionPoint.eventListeners

InteractivePDFExportPreference.eventListeners

JPEGExportPreference.eventListeners

KinsokuTable.eventListeners

Language.eventListeners

LanguageWithVendors.eventListeners

Layer.eventListeners

LayoutAdjustmentPreference.eventListeners

LayoutGridDataInformation.eventListeners

Library.eventListeners

Line.eventListeners

Link.eventListeners

LinkMetadata.eventListeners

LinkingPreference.eventListeners

MarginPreference.eventListeners

MasterSpread.eventListeners

MatchCharacterStylePreference.eventListeners

MatchParagraphStylePreference.eventListeners

MediaItem.eventListeners

MetadataPreference.eventListeners

MixedInk.eventListeners

MixedInkGroup.eventListeners

MojikumiTable.eventListeners

MojikumiUiPreference.eventListeners

MotionPreset.eventListeners

Movie.eventListeners

MovieBehavior.eventListeners

MultiStateObject.eventListeners

NamedGrid.eventListeners

NavigationPoint.eventListeners

NestedGrepStyle.eventListeners

NestedLineStyle.eventListeners

NestedStyle.eventListeners

Note.eventListeners

NumberingList.eventListeners

NumberingRestartPolicy.eventListeners

ObjectStyle.eventListeners

ObjectStyleContentEffectsCategorySettings.eventListeners

ObjectStyleFillEffectsCategorySettings.eventListeners

ObjectStyleGroup.eventListeners

ObjectStyleObjectEffectsCategorySettings.eventListeners

ObjectStyleStrokeEffectsCategorySettings.eventListeners

OpacityGradientStop.eventListeners

OpenFileBehavior.eventListeners

OuterGlowSetting.eventListeners

Oval.eventListeners

PDF.eventListeners

PDFAttribute.eventListeners

PDFExportPreference.eventListeners

PDFExportPreset.eventListeners

PDFPlacePreference.eventListeners

PICT.eventListeners

Page.eventListeners

PageItem.eventListeners

PageItemDefault.eventListeners

PageNumberVariablePreference.eventListeners

PageReference.eventListeners

Paragraph.eventListeners

ParagraphDestination.eventListeners

ParagraphStyle.eventListeners

ParagraphStyleGroup.eventListeners

PasteboardPreference.eventListeners

Path.eventListeners

PathPoint.eventListeners

PlaceGun.eventListeners

Polygon.eventListeners

PolygonPreference.eventListeners

Preference.eventListeners

PreflightBookOption.eventListeners

PreflightOption.eventListeners

PreflightProcess.eventListeners

PreflightProfile.eventListeners

PreflightProfileRule.eventListeners

PreflightRule.eventListeners

PreflightRuleInstance.eventListeners

PrintBookletOption.eventListeners

PrintBookletPrintPreference.eventListeners

PrintPreference.eventListeners

PrinterPreset.eventListeners

Rectangle.eventListeners

Row.eventListeners

RuleDataObject.eventListeners

SWFExportPreference.eventListeners

SatinSetting.eventListeners

ScriptArg.eventListeners

ScriptPreference.eventListeners

Section.eventListeners

ServerSetting.eventListeners

ShowHideFieldsBehavior.eventListeners

Snippet.eventListeners

Sound.eventListeners

SoundBehavior.eventListeners

SpellPreference.eventListeners

SplineItem.eventListeners

Spread.eventListeners

State.eventListeners

Story.eventListeners

StoryGridDataInformation.eventListeners

StoryPreference.eventListeners

StripedStrokeStyle.eventListeners

StrokeStyle.eventListeners

StrokeTransparencySetting.eventListeners

Swatch.eventListeners

TOCStyle.eventListeners

TOCStyleEntry.eventListeners

TabStop.eventListeners

Table.eventListeners

TableStyle.eventListeners

TableStyleGroup.eventListeners

TaggedTextExportPreference.eventListeners

TaggedTextImportPreference.eventListeners

Text.eventListeners

TextColumn.eventListeners

TextDefault.eventListeners

TextExportPreference.eventListeners

TextFrame.eventListeners

TextFramePreference.eventListeners

TextImportPreference.eventListeners

TextPath.eventListeners

TextPreference.eventListeners

TextStyleRange.eventListeners

TextVariable.eventListeners

TextVariableInstance.eventListeners

TextWrapPreference.eventListeners

TimingGroup.eventListeners

TimingList.eventListeners

TimingSetting.eventListeners

TimingTarget.eventListeners

Tint.eventListeners

Topic.eventListeners

TrackChangesPreference.eventListeners

TransformPreference.eventListeners

TransformationMatrix.eventListeners

TransparencyPreference.eventListeners

TransparencySetting.eventListeners

TrapPreset.eventListeners

UserDictionary.eventListeners

ValidationError.eventListeners

ViewPreference.eventListeners

ViewZoomBehavior.eventListeners

WMF.eventListeners

WatermarkPreference.eventListeners

Word.eventListeners

WordRTFImportPreference.eventListeners

XFLExportPreference.eventListeners

XMLAttribute.eventListeners

XMLComment.eventListeners

XMLElement.eventListeners

XMLExportMap.eventListeners

XMLExportPreference.eventListeners

XMLImportMap.eventListeners

XMLImportPreference.eventListeners

XMLInstruction.eventListeners

XMLItem.eventListeners

XMLPreference.eventListeners

XMLRuleMatchData.eventListeners

XMLRuleProcessor.eventListeners

XMLTag.eventListeners

XmlStory.eventListeners

Jongware, 23-Mar-2011 v3.0.3dContents :: Index