Event
An event.
Superclass of DocumentEvent, IdleEvent, ImportExportEvent, MutationEvent, and PrintEvent
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bubbles | bool | readonly | If true, the event supports the bubbling phase of propagation. |
cancelable | bool | 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 | bool | readonly | If true, the default behavior of the event on its target has been canceled. |
eventPhase | EventPhases: EventPhases.NOT_DISPATCHING EventPhases.AT_TARGET EventPhases.BUBBLING_PHASE EventPhases.DONE |
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 | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | AlignDistributePreference AnchoredObjectDefault AnchoredObjectSetting AnimationBehavior AnimationSetting Application Article ArticleChild ArticleMember Asset AssignedStory Assignment AutoCorrectPreference AutoCorrectTable BaselineFrameGridOption Behavior BevelAndEmbossSetting BlendingSetting Book BookContent Bookmark BuildingBlock Bullet Button ButtonPreference CaptionMetadataVariablePreference Cell CellStyle CellStyleGroup CellStyleMapping Change ChangeGlyphPreference ChangeGrepPreference ChangeObjectPreference ChangeTextPreference ChangeTransliteratePreference ChapterNumberPreference ChapterNumberVariablePreference Character CharacterStyle CharacterStyleGroup CharStyleMapping CheckBox CjkGridPreference ClearFormBehavior ClipboardPreference ClippingPathSettings Color ColorSetting Column ComboBox CompositeFont CompositeFontEntry Condition ConditionalTextPreference ConditionSet ContentPlacerObject ContentTransparencySetting ContourOption CrossReference CrossReferenceFormat CrossReferenceSource CustomTextVariablePreference DashedStrokeStyle DataMerge DataMergeField DataMergeImagePlaceholder DataMergeOption DataMergePreference DataMergeTextPlaceholder DateVariablePreference DictionaryPreference DirectionalFeatherSetting Document DocumentPreference DocumentPreset DottedStrokeStyle DropShadowSetting DTD EPS EPSExportPreference EPSImportPreference EPSText EPubExportPreference ErrorListError 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 GeneralPreference GotoAnchorBehavior GotoFirstPageBehavior GotoLastPageBehavior GotoNextPageBehavior GotoNextStateBehavior GotoNextViewBehavior GotoPageBehavior GotoPreviousPageBehavior GotoPreviousStateBehavior GotoPreviousViewBehavior GotoStateBehavior GotoURLBehavior Gradient GradientFeatherSetting GradientStop Graphic GraphicLayer GraphicLayerOption GraphicLine GridDataInformation GridPreference GridPrintingPreference Group Guide GuidePreference HiddenText HTMLExportPreference HtmlItem Hyperlink HyperlinkExternalPageDestination HyperlinkPageDestination HyperlinkPageItemSource HyperlinkTextDestination HyperlinkTextSource HyperlinkURLDestination HyphenationException IDBasedObject IdleTask Image ImageIOPreference ImagePreference ImportedPage ImportedPageAttribute InCopyExportOption Index IndexingSortOption IndexOptions IndexSection Ink InnerGlowSetting InnerShadowSetting InsertionPoint InteractivePDFExportPreference JPEGExportPreference KinsokuTable Language LanguageWithVendors Layer LayoutAdjustmentPreference LayoutGridDataInformation Library Line Link LinkedPageItemOption LinkedStoryOption LinkingPreference LinkMetadata ListBox MarginPreference MasterSpread MatchCharacterStylePreference MatchParagraphStylePreference MediaItem MetadataPreference MixedInk MixedInkGroup MojikumiTable MojikumiUiPreference MotionPreset Movie MovieBehavior MultiStateObject NamedGrid NavigationPoint NestedGrepStyle NestedLineStyle NestedStyle NonIDBasedObject Note NumberingList NumberingRestartPolicy Object ObjectExportOption ObjectStyle ObjectStyleContentEffectsCategorySettings ObjectStyleFillEffectsCategorySettings ObjectStyleGroup ObjectStyleObjectEffectsCategorySettings ObjectStyleStrokeEffectsCategorySettings OpacityGradientStop OpenFileBehavior OuterGlowSetting Oval Page PageItem PageItemDefault PageNumberVariablePreference PageReference Paragraph ParagraphDestination ParagraphStyle ParagraphStyleGroup ParaStyleMapping PasteboardPreference Path PathPoint PDFAttribute PDFExportPreference PDFExportPreset PDFPlacePreference PICT PlaceGun PNGExportPreference Polygon PolygonPreference Preference PreflightBookOption PreflightOption PreflightProcess PreflightProfile PreflightProfileRule PreflightRule PreflightRuleInstance PrintBookletOption PrintBookletPrintPreference PrinterPreset PrintFormBehavior PrintPreference RadioButton Rectangle RootObject Row RuleDataObject SatinSetting ScriptArg ScriptPreference Section ServerSetting ShowHideFieldsBehavior SignatureField Snippet Sound SoundBehavior SpellPreference SplineItem Spread State Story StoryGridDataInformation StoryPreference StripedStrokeStyle StrokeStyle StrokeTransparencySetting StyleExportTagMap SubmitFormBehavior Swatch SWFExportPreference Table TableStyle TableStyleGroup TableStyleMapping TabStop TaggedPDFPreference TaggedTextExportPreference TaggedTextImportPreference Text TextBox TextColumn TextDefault TextExportPreference TextFrame TextFramePreference TextImportPreference TextPath TextPreference TextStyleRange TextVariable TextVariableInstance TextWrapPreference TimingGroup TimingList TimingSetting TimingTarget Tint TOCStyle TOCStyleEntry Topic TrackChangesPreference TransformationMatrix TransformPreference TransparencyPreference TransparencySetting TrapPreset UIDBasedObject UserDictionary ValidationError ViewPreference ViewZoomBehavior WatermarkPreference WMF Word WordRTFImportPreference XFLExportPreference XMLAttribute XMLComment XMLElement XMLExportMap XMLExportPreference XMLImportMap XMLImportPreference XMLInstruction XMLItem XMLPreference XMLRuleMatchData XMLRuleProcessor XmlStory XMLTag |
readonly | The parent of the Event (a Object, UIDBasedObject, CellStyleGroup, CellStyle, TableStyleGroup, Article, ConditionSet, HiddenText, Condition, MotionPreset, AssignedStory, Assignment, ObjectStyleGroup, ObjectStyle, NumberingList, Snippet, 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, 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, MasterSpread, TrapPreset, Ink, DocumentPreset, Page, Spread, Layer, CharacterStyle, ParagraphStyle, Story, XmlStory, IDBasedObject, ArticleChild, ArticleMember, State, RuleDataObject, XMLItem, DTD, XMLInstruction, XMLComment, XMLElement, Table, Cell, IdleTask, StrokeStyle, StripedStrokeStyle, DottedStrokeStyle, DashedStrokeStyle, GraphicLayer, NonIDBasedObject, TableStyleMapping, CharStyleMapping, CellStyleMapping, ParaStyleMapping, TimingTarget, TimingGroup, TimingList, OpacityGradientStop, ErrorListError, DataMergeField, DataMergeImagePlaceholder, DataMergeTextPlaceholder, NavigationPoint, PreflightProcess, PreflightRule, BuildingBlock, IndexingSortOption, Topic, TOCStyleEntry, StyleExportTagMap, TextVariable, XMLRuleMatchData, ValidationError, XMLExportMap, XMLImportMap, XMLAttribute, PrinterPreset, Row, Column, Change, RootObject, Document, Application, Book, Library, Preference, ContentPlacerObject, LinkedPageItemOption, LinkedStoryOption, HTMLExportPreference, EPubExportPreference, ConditionalTextPreference, TimingSetting, AnimationSetting, XFLExportPreference, SWFExportPreference, AlignDistributePreference, ServerSetting, ObjectStyleContentEffectsCategorySettings, ObjectStyleFillEffectsCategorySettings, ObjectStyleStrokeEffectsCategorySettings, ObjectStyleObjectEffectsCategorySettings, ChapterNumberPreference, NumberingRestartPolicy, Bullet, DataMerge, DataMergeOption, DataMergePreference, JPEGExportPreference, TrackChangesPreference, TransformPreference, ClipboardPreference, GeneralPreference, WatermarkPreference, ButtonPreference, PNGExportPreference, PreflightBookOption, PreflightOption, 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, 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, ImportedPageAttribute, EPSImportPreference, AutoCorrectPreference, SpellPreference, PolygonPreference, DictionaryPreference, FontLockingPreference, MojikumiUiPreference, ContourOption, TextWrapPreference, FrameFittingOption, ObjectExportOption, PageItemDefault, TaggedPDFPreference, InteractivePDFExportPreference, PDFAttribute, PDFPlacePreference, PDFExportPreference, GraphicLayerOption, ClippingPathSettings, ImageIOPreference, ImagePreference, 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 | bool | readonly | If true, propagation of the event beyond the current target has been stopped. |
properties | Object | r/w | 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. |
Class
Property | Type | Access | Description |
---|---|---|---|
AFTER_DELETE | string | readonly | Dispatched after a Event is deleted. This event bubbles. This event is not cancelable. (default: afterDelete) |
AFTER_EMBED | string | readonly | Dispatched after a Event is embedded. This event bubbles. This event is not cancelable. (default: afterEmbed) |
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. (default: afterLinksChanged) |
AFTER_MOVE | string | readonly | Dispatched after a Event is relocated from one object to another. This event bubbles. This event is not cancelable. (default: afterMove) |
AFTER_NEW | string | readonly | Dispatched after a Event is created. This event bubbles. This event is not cancelable. (default: afterNew) |
AFTER_PLACE | string | readonly | Dispatched after a Event is placed. This event bubbles. This event is not cancelable. (default: afterPlace) |
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. (default: afterQuit) |
AFTER_UNEMBED | string | readonly | Dispatched after a Event is unembedded. This event bubbles. This event is not cancelable. (default: afterUnembed) |
AFTER_UPDATE | string | readonly | Dispatched after a Event is updated. This event bubbles. This event is not cancelable. (default: afterUpdate) |
BEFORE_DELETE | string | readonly | Dispatched before a Event is deleted. This event bubbles. This event is cancelable. (default: beforeDelete) |
BEFORE_EMBED | string | readonly | Dispatched before a Event is embedded. This event bubbles. This event is cancelable. (default: beforeEmbed) |
BEFORE_MOVE | string | readonly | Dispatched before a Event is relocated from one object to another. This event bubbles. This event is cancelable. (default: beforeMove) |
BEFORE_PLACE | string | readonly | Dispatched before a Event is placed. This event bubbles. This event is cancelable. (default: beforePlace) |
BEFORE_QUIT | string | readonly | Dispatched before the Event is quit. Allows the quit to be canceled. This event bubbles. This event is cancelable. (default: beforeQuit) |
BEFORE_UNEMBED | string | readonly | Dispatched before a Event is unembedded. This event bubbles. This event is cancelable. (default: beforeUnembed) |
BEFORE_UPDATE | string | readonly | Dispatched before a Event is updated. This event bubbles. This event is cancelable. (default: beforeUpdate) |
Methods
Instances
Array of Event getElements ()
Resolves the object specifier, creating an array of object references.
void preventDefault ()
Cancels the default behavior of the event on its target.
void stopPropagation ()
Stops propagation of the event beyond the current target.
string toSource ()
Generates a string which, if executed, will return the Event.
Used in:
Event Events.nextItem (obj: Event)
Event Events.previousItem (obj: Event)
Return
Array of Event Event.getElements ()
Event Events.[] (index: number)
Event Events.anyItem ()
Array of Event Events.everyItem ()
Event Events.firstItem ()
Event Events.item (index: varies)
Event Events.itemByID (id: number)
Array of Event Events.itemByRange (from: varies, to: varies)
Event Events.lastItem ()
Event Events.middleItem ()
Event Events.nextItem (obj: Event)
Event Events.previousItem (obj: Event)
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |