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

InDesign Server CS5

Class

MutationEvent

 A mutation event is dispatched for attribute changes. Base Class: Event

QuickLinks

getElements, preventDefault, stopPropagation, toSource, toSpecifier

Hierarchy

AlignDistributePreference | AnchoredObjectDefault | AnchoredObjectSetting | AnimationBehavior | AnimationSetting | Application | Asset | AssignedStory | Assignment | AutoCorrectPreference | AutoCorrectTable | BaselineFrameGridOption | Behavior | BevelAndEmbossSetting | BlendingSetting | Book | BookContent | Bookmark | BuildingBlock | Bullet | Button | ButtonPreference | CaptionMetadataVariablePreference | Cell | CellStyle | CellStyleGroup | Change | ChangeGlyphPreference | ChangeGrepPreference | ChangeObjectPreference | ChangeTextPreference | ChangeTransliteratePreference | ChapterNumberPreference | ChapterNumberVariablePreference | Character | CharacterStyle | CharacterStyleGroup | CjkGridPreference | ClipboardPreference | ClippingPathSettings | Color | ColorSetting | Column | CompositeFont | CompositeFontEntry | Condition | ConditionalTextPreference | ConditionSet | ContentTransparencySetting | ContourOption | CrossReference | CrossReferenceFormat | CrossReferenceSource | CustomTextVariablePreference | DashedStrokeStyle | DataMerge | DataMergeField | DataMergeImagePlaceholder | DataMergeOption | DataMergePreference | DataMergeTextPlaceholder | DateVariablePreference | DictionaryPreference | DirectionalFeatherSetting | Document | DocumentEvent | DocumentPreference | DocumentPreset | DottedStrokeStyle | DropShadowSetting | DTD | EPS | EPSExportPreference | EPSImportPreference | EPSText | ErrorListError | Event | EventListener | 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 | Hyperlink | HyperlinkExternalPageDestination | HyperlinkPageDestination | HyperlinkPageItemSource | HyperlinkTextDestination | HyperlinkTextSource | HyperlinkURLDestination | HyphenationException | IDBasedObject | IdleEvent | IdleTask | Image | ImageIOPreference | ImagePreference | ImportedPage | ImportedPageAttribute | ImportExportEvent | InCopyExportOption | Index | IndexingSortOption | IndexOptions | IndexSection | Ink | InnerGlowSetting | InnerShadowSetting | InsertionPoint | InteractivePDFExportPreference | JPEGExportPreference | KinsokuTable | Language | LanguageWithVendors | Layer | LayoutAdjustmentPreference | LayoutGridDataInformation | Library | Line | Link | LinkingPreference | LinkMetadata | MarginPreference | MasterSpread | MatchCharacterStylePreference | MatchParagraphStylePreference | MediaItem | MetadataPreference | MixedInk | MixedInkGroup | MojikumiTable | MojikumiUiPreference | MotionPreset | Movie | MovieBehavior | MultiStateObject | MutationEvent | NamedGrid | NavigationPoint | NestedGrepStyle | NestedLineStyle | NestedStyle | NonIDBasedObject | Note | NumberingList | NumberingRestartPolicy | Object | ObjectStyle | ObjectStyleContentEffectsCategorySettings | ObjectStyleFillEffectsCategorySettings | ObjectStyleGroup | ObjectStyleObjectEffectsCategorySettings | ObjectStyleStrokeEffectsCategorySettings | OpacityGradientStop | OpenFileBehavior | OuterGlowSetting | Oval | Page | PageItem | PageItemDefault | PageNumberVariablePreference | PageReference | Paragraph | ParagraphDestination | ParagraphStyle | ParagraphStyleGroup | PasteboardPreference | Path | PathPoint | PDF | PDFAttribute | PDFExportPreference | PDFExportPreset | PDFPlacePreference | PICT | PlaceGun | Polygon | PolygonPreference | Preference | PreflightBookOption | PreflightOption | PreflightProcess | PreflightProfile | PreflightProfileRule | PreflightRule | PreflightRuleInstance | PrintBookletOption | PrintBookletPrintPreference | PrinterPreset | PrintEvent | PrintPreference | Rectangle | RootObject | Row | RuleDataObject | SatinSetting | ScriptArg | ScriptPreference | Section | ServerSetting | ShowHideFieldsBehavior | Snippet | Sound | SoundBehavior | SpellPreference | SplineItem | Spread | State | Story | StoryGridDataInformation | StoryPreference | StripedStrokeStyle | StrokeStyle | StrokeTransparencySetting | Swatch | SWFExportPreference | Table | TableStyle | TableStyleGroup | TabStop | TaggedTextExportPreference | TaggedTextImportPreference | Text | 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
Event
MutationEvent
MutationEvent

Properties

PropertyTypeAccessDescription
attributeNamestring readonlyThe name of the property that changed.
attributeValueany readonlyThe current value of the property that changed.
bubblesbool readonlyIf true, the event supports the bubbling phase of propagation.
cancelablebool readonlyIf true, the default behavior of the event on its target can be canceled.
currentTargetObject readonlyThe current propagation target of the event.
defaultPreventedbool readonlyIf true, the default behavior of the event on its target has been canceled.
eventPhaseEventPhases:
EventPhases.NOT_DISPATCHING
EventPhases.AT_TARGET
EventPhases.BUBBLING_PHASE
EventPhases.DONE
readonlyThe current propagation phase of the event.
eventTypestring readonlyThe name of the event.
idnumber readonlyThe unique ID of the MutationEvent.
indexnumber readonlyThe index of the MutationEvent within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentAlignDistributePreference
AnchoredObjectDefault
AnchoredObjectSetting
AnimationBehavior
AnimationSetting
Application
Asset
AssignedStory
Assignment
AutoCorrectPreference
AutoCorrectTable
BaselineFrameGridOption
Behavior
BevelAndEmbossSetting
BlendingSetting
Book
BookContent
Bookmark
BuildingBlock
Bullet
Button
ButtonPreference
CaptionMetadataVariablePreference
Cell
CellStyle
CellStyleGroup
Change
ChangeGlyphPreference
ChangeGrepPreference
ChangeObjectPreference
ChangeTextPreference
ChangeTransliteratePreference
ChapterNumberPreference
ChapterNumberVariablePreference
Character
CharacterStyle
CharacterStyleGroup
CjkGridPreference
ClipboardPreference
ClippingPathSettings
Color
ColorSetting
Column
CompositeFont
CompositeFontEntry
Condition
ConditionalTextPreference
ConditionSet
ContentTransparencySetting
ContourOption
CrossReference
CrossReferenceFormat
CrossReferenceSource
CustomTextVariablePreference
DashedStrokeStyle
DataMerge
DataMergeField
DataMergeImagePlaceholder
DataMergeOption
DataMergePreference
DataMergeTextPlaceholder
DateVariablePreference
DictionaryPreference
DirectionalFeatherSetting
Document
DocumentEvent
DocumentPreference
DocumentPreset
DottedStrokeStyle
DropShadowSetting
DTD
EPS
EPSExportPreference
EPSImportPreference
EPSText
ErrorListError
Event
EventListener
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
Hyperlink
HyperlinkExternalPageDestination
HyperlinkPageDestination
HyperlinkPageItemSource
HyperlinkTextDestination
HyperlinkTextSource
HyperlinkURLDestination
HyphenationException
IDBasedObject
IdleEvent
IdleTask
Image
ImageIOPreference
ImagePreference
ImportedPage
ImportedPageAttribute
ImportExportEvent
InCopyExportOption
Index
IndexingSortOption
IndexOptions
IndexSection
Ink
InnerGlowSetting
InnerShadowSetting
InsertionPoint
InteractivePDFExportPreference
JPEGExportPreference
KinsokuTable
Language
LanguageWithVendors
Layer
LayoutAdjustmentPreference
LayoutGridDataInformation
Library
Line
Link
LinkingPreference
LinkMetadata
MarginPreference
MasterSpread
MatchCharacterStylePreference
MatchParagraphStylePreference
MediaItem
MetadataPreference
MixedInk
MixedInkGroup
MojikumiTable
MojikumiUiPreference
MotionPreset
Movie
MovieBehavior
MultiStateObject
MutationEvent
NamedGrid
NavigationPoint
NestedGrepStyle
NestedLineStyle
NestedStyle
NonIDBasedObject
Note
NumberingList
NumberingRestartPolicy
Object
ObjectStyle
ObjectStyleContentEffectsCategorySettings
ObjectStyleFillEffectsCategorySettings
ObjectStyleGroup
ObjectStyleObjectEffectsCategorySettings
ObjectStyleStrokeEffectsCategorySettings
OpacityGradientStop
OpenFileBehavior
OuterGlowSetting
Oval
Page
PageItem
PageItemDefault
PageNumberVariablePreference
PageReference
Paragraph
ParagraphDestination
ParagraphStyle
ParagraphStyleGroup
PasteboardPreference
Path
PathPoint
PDF
PDFAttribute
PDFExportPreference
PDFExportPreset
PDFPlacePreference
PICT
PlaceGun
Polygon
PolygonPreference
Preference
PreflightBookOption
PreflightOption
PreflightProcess
PreflightProfile
PreflightProfileRule
PreflightRule
PreflightRuleInstance
PrintBookletOption
PrintBookletPrintPreference
PrinterPreset
PrintEvent
PrintPreference
Rectangle
RootObject
Row
RuleDataObject
SatinSetting
ScriptArg
ScriptPreference
Section
ServerSetting
ShowHideFieldsBehavior
Snippet
Sound
SoundBehavior
SpellPreference
SplineItem
Spread
State
Story
StoryGridDataInformation
StoryPreference
StripedStrokeStyle
StrokeStyle
StrokeTransparencySetting
Swatch
SWFExportPreference
Table
TableStyle
TableStyleGroup
TabStop
TaggedTextExportPreference
TaggedTextImportPreference
Text
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
readonlyThe parent of the MutationEvent (a Object, UIDBasedObject, CellStyleGroup, CellStyle, TableStyleGroup, ConditionSet, HiddenText, Condition, MotionPreset, AssignedStory, Assignment, ObjectStyleGroup, ObjectStyle, NumberingList, Snippet, Swatch, Color, Tint, Gradient, MixedInkGroup, MixedInk, Behavior, 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, FormField, 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, State, RuleDataObject, XMLItem, DTD, XMLInstruction, XMLComment, XMLElement, Table, Cell, IdleTask, Event, ImportExportEvent, DocumentEvent, MutationEvent, IdleEvent, PrintEvent, EventListener, StrokeStyle, StripedStrokeStyle, DottedStrokeStyle, DashedStrokeStyle, GraphicLayer, NonIDBasedObject, TimingTarget, TimingGroup, TimingList, OpacityGradientStop, ErrorListError, DataMergeField, DataMergeImagePlaceholder, DataMergeTextPlaceholder, NavigationPoint, PreflightProcess, PreflightRule, BuildingBlock, IndexingSortOption, Topic, TOCStyleEntry, TextVariable, XMLRuleMatchData, ValidationError, XMLExportMap, XMLImportMap, XMLAttribute, PrinterPreset, Row, Column, Change, RootObject, Document, Application, Book, Library, Preference, ConditionalTextPreference, TimingSetting, AnimationSetting, XFLExportPreference, SWFExportPreference, AlignDistributePreference, ServerSetting, ObjectStyleContentEffectsCategorySettings, ObjectStyleFillEffectsCategorySettings, ObjectStyleStrokeEffectsCategorySettings, ObjectStyleObjectEffectsCategorySettings, ChapterNumberPreference, NumberingRestartPolicy, Bullet, DataMerge, DataMergeOption, DataMergePreference, JPEGExportPreference, TrackChangesPreference, TransformPreference, ClipboardPreference, GeneralPreference, WatermarkPreference, ButtonPreference, 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, PageItemDefault, 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).
propagationStoppedbool readonlyIf true, propagation of the event beyond the current target has been stopped.
propertiesObject r/wA property that allows setting of several properties at the same time.
targetObject readonlyThe target of the event.
timeStampDate readonlyThe time the event was initialized.

Class

PropertyTypeAccessDescription
AFTER_ATTRIBUTE_CHANGEDstring readonlyDispatched when the value of a property changes on this MutationEvent. This event bubbles. This event is not cancelable. (default: afterAttributeChanged)

Methods

Instances

Array of MutationEvent 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 MutationEvent.

string toSpecifier ()
Retrieves the object specifier.

Return

Array of MutationEvent MutationEvent.getElements ()

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