Adobe InCopy CS5 (7.0) Object Model JS: EventListeners

InCopy 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

AnchoredObjectDefault.eventListeners

AnchoredObjectSetting.eventListeners

AngleCombobox.eventListeners

AngleEditbox.eventListeners

AnimationBehavior.eventListeners

Application.eventListeners

AssignedStory.eventListeners

Assignment.eventListeners

AutoCorrectPreference.eventListeners

AutoCorrectTable.eventListeners

BackgroundTask.eventListeners

BaselineFrameGridOption.eventListeners

Behavior.eventListeners

BorderPanel.eventListeners

BuildingBlock.eventListeners

Bullet.eventListeners

Button.eventListeners

CaptionMetadataVariablePreference.eventListeners

Cell.eventListeners

CellStyle.eventListeners

CellStyleGroup.eventListeners

Change.eventListeners

ChangeGlyphPreference.eventListeners

ChangeGrepPreference.eventListeners

ChangeTextPreference.eventListeners

ChangeTransliteratePreference.eventListeners

ChapterNumberVariablePreference.eventListeners

Character.eventListeners

CharacterStyle.eventListeners

CharacterStyleGroup.eventListeners

CheckboxControl.eventListeners

ClipboardPreference.eventListeners

ClippingPathSettings.eventListeners

Color.eventListeners

Column.eventListeners

Condition.eventListeners

ConditionSet.eventListeners

ConditionalTextPreference.eventListeners

ContourOption.eventListeners

CrossReferenceFormat.eventListeners

CrossReferenceSource.eventListeners

CustomTextVariablePreference.eventListeners

DTD.eventListeners

DateVariablePreference.eventListeners

Dialog.eventListeners

DialogColumn.eventListeners

DialogRow.eventListeners

DictionaryPreference.eventListeners

Document.eventListeners

DocumentPreference.eventListeners

DocumentPreset.eventListeners

Dropdown.eventListeners

EPS.eventListeners

EPSText.eventListeners

EnablingGroup.eventListeners

ExcelImportPreference.eventListeners

ExportForWebPreference.eventListeners

FileNameVariablePreference.eventListeners

FindChangeGlyphOption.eventListeners

FindChangeGrepOption.eventListeners

FindChangeObjectOption.eventListeners

FindChangeTextOption.eventListeners

FindChangeTransliterateOption.eventListeners

FindGlyphPreference.eventListeners

FindGrepPreference.eventListeners

FindTextPreference.eventListeners

FindTransliteratePreference.eventListeners

Font.eventListeners

Footnote.eventListeners

FootnoteOption.eventListeners

FormField.eventListeners

FrameFittingOption.eventListeners

GalleyPreference.eventListeners

GalleyPrintPreference.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

GradientStop.eventListeners

Graphic.eventListeners

GraphicLayer.eventListeners

GraphicLayerOption.eventListeners

GraphicLine.eventListeners

GridPreference.eventListeners

Group.eventListeners

Guide.eventListeners

GuidePreference.eventListeners

HiddenText.eventListeners

Hyperlink.eventListeners

HyperlinkExternalPageDestination.eventListeners

HyperlinkPageItemSource.eventListeners

HyperlinkTextDestination.eventListeners

HyperlinkTextSource.eventListeners

HyperlinkURLDestination.eventListeners

HyphenationException.eventListeners

IMEPreference.eventListeners

IdleTask.eventListeners

Image.eventListeners

ImageIOPreference.eventListeners

ImagePreference.eventListeners

ImportedPage.eventListeners

ImportedPageAttribute.eventListeners

InCopyExportOption.eventListeners

IndexingSortOption.eventListeners

Ink.eventListeners

InsertionPoint.eventListeners

IntegerCombobox.eventListeners

IntegerEditbox.eventListeners

KinsokuTable.eventListeners

Language.eventListeners

LanguageWithVendors.eventListeners

Layer.eventListeners

LayoutPrintPreference.eventListeners

Line.eventListeners

Link.eventListeners

LinkMetadata.eventListeners

LinkingPreference.eventListeners

MarginPreference.eventListeners

MasterSpread.eventListeners

MatchCharacterStylePreference.eventListeners

MatchParagraphStylePreference.eventListeners

MeasurementCombobox.eventListeners

MeasurementEditbox.eventListeners

MediaItem.eventListeners

Menu.eventListeners

MenuAction.eventListeners

MenuElement.eventListeners

MenuItem.eventListeners

MenuSeparator.eventListeners

MetadataPreference.eventListeners

MixedInk.eventListeners

MixedInkGroup.eventListeners

MojikumiTable.eventListeners

MojikumiUiPreference.eventListeners

Movie.eventListeners

MovieBehavior.eventListeners

MultiStateObject.eventListeners

NavigationPoint.eventListeners

NestedGrepStyle.eventListeners

NestedLineStyle.eventListeners

NestedStyle.eventListeners

Note.eventListeners

NotePreference.eventListeners

NumberingList.eventListeners

NumberingRestartPolicy.eventListeners

OpenFileBehavior.eventListeners

Oval.eventListeners

PDF.eventListeners

PDFGalleyExportPreference.eventListeners

PDFLayoutExportPreference.eventListeners

PICT.eventListeners

Page.eventListeners

PageItem.eventListeners

PageItemDefault.eventListeners

PageNumberVariablePreference.eventListeners

Panel.eventListeners

Paragraph.eventListeners

ParagraphDestination.eventListeners

ParagraphStyle.eventListeners

ParagraphStyleGroup.eventListeners

PasteboardPreference.eventListeners

Path.eventListeners

PathPoint.eventListeners

PercentCombobox.eventListeners

PercentEditbox.eventListeners

PlaceGun.eventListeners

Polygon.eventListeners

Preference.eventListeners

RadiobuttonControl.eventListeners

RadiobuttonGroup.eventListeners

RealCombobox.eventListeners

RealEditbox.eventListeners

Rectangle.eventListeners

Row.eventListeners

ScriptArg.eventListeners

ScriptMenuAction.eventListeners

ScriptPreference.eventListeners

Section.eventListeners

ShowHideFieldsBehavior.eventListeners

Sound.eventListeners

SoundBehavior.eventListeners

SpellPreference.eventListeners

SplineItem.eventListeners

Spread.eventListeners

State.eventListeners

StaticText.eventListeners

Story.eventListeners

StoryPreference.eventListeners

StrokeFillProxySetting.eventListeners

StrokeStyle.eventListeners

Submenu.eventListeners

Swatch.eventListeners

TabStop.eventListeners

Table.eventListeners

TableStyle.eventListeners

TableStyleGroup.eventListeners

TaggedTextExportPreference.eventListeners

TaggedTextImportPreference.eventListeners

Text.eventListeners

TextColumn.eventListeners

TextDefault.eventListeners

TextEditbox.eventListeners

TextEditingPreference.eventListeners

TextExportPreference.eventListeners

TextFrame.eventListeners

TextFramePreference.eventListeners

TextImportPreference.eventListeners

TextMacro.eventListeners

TextPath.eventListeners

TextPreference.eventListeners

TextStyleRange.eventListeners

TextVariable.eventListeners

TextVariableInstance.eventListeners

TextWrapPreference.eventListeners

Tint.eventListeners

ToolBox.eventListeners

TrackChangesPreference.eventListeners

TransformationMatrix.eventListeners

TrapPreset.eventListeners

UserDictionary.eventListeners

ValidationError.eventListeners

ViewPreference.eventListeners

ViewZoomBehavior.eventListeners

WMF.eventListeners

Widget.eventListeners

Window.eventListeners

Word.eventListeners

WordRTFImportPreference.eventListeners

XMLAttribute.eventListeners

XMLComment.eventListeners

XMLElement.eventListeners

XMLExportMap.eventListeners

XMLExportPreference.eventListeners

XMLImportMap.eventListeners

XMLImportPreference.eventListeners

XMLInstruction.eventListeners

XMLItem.eventListeners

XMLPreference.eventListeners

XMLTag.eventListeners

XMLViewPreference.eventListeners

XmlStory.eventListeners

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