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

InDesign Server CS5

Class

TimingTarget

 a timing target.

QuickLinks

addEventListener, getElements, move, remove, removeEventListener, toSource, toSpecifier, unlink

Hierarchy

TimingGroup
TimingTarget
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
delaySecondsnumber (range: 0 - 60) r/wThe time delay in seconds for a single target or a group of targets after the previoius group has finished.
dynamicTargetBehaviorGraphic
MediaItem
PageItem
r/wA page item target that is an animation, media, or mso. Can return: PageItem, Graphic, Behavior or MediaItem.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
indexnumber readonlyThe index of the TimingTarget within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentTimingGroup readonlyThe parent of the TimingTarget (a TimingGroup).
propertiesObject r/wA property that allows setting of several properties at the same time.
reverseAnimationbool r/wSet to true if reversing animation on rolloff. Valid only for self rolloff trigger event.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
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)

Array of TimingTarget getElements ()
Resolves the object specifier, creating an array of object references.

TimingTarget move (to: LocationOptions[, reference: varies])
Moves the timing group or target to the specified location.

ParameterTypeDescription
toLocationOptions:
LocationOptions.BEFORE
LocationOptions.AFTER
LocationOptions.AT_END
LocationOptions.AT_BEGINNING
LocationOptions.UNKNOWN
The location in relation to the reference object or within the containing object.
referenceTimingGroup
TimingList
TimingTarget
The reference object. Note: Required when the to parameter specifies before or after. . Can accept: TimingGroup, TimingTarget or TimingList. (Optional)

void remove ()
Deletes the TimingTarget.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

void unlink ()
Unlink target from this group and append to the end of this timing list.

Used in:

TimingTarget TimingTargets.nextItem (obj: TimingTarget)

TimingTarget TimingTargets.previousItem (obj: TimingTarget)

Return

Array of TimingTarget TimingTarget.getElements ()

TimingTarget TimingTarget.move (to: LocationOptions[, reference: varies])

TimingTarget TimingTargets.[] (index: number)

TimingTarget TimingTargets.add (dynamicTarget: varies[, delaySeconds: number=0][, withProperties: Object])

TimingTarget TimingTargets.anyItem ()

Array of TimingTarget TimingTargets.everyItem ()

TimingTarget TimingTargets.firstItem ()

TimingTarget TimingTargets.item (index: varies)

Array of TimingTarget TimingTargets.itemByRange (from: varies, to: varies)

TimingTarget TimingTargets.lastItem ()

TimingTarget TimingTargets.middleItem ()

TimingTarget TimingTargets.nextItem (obj: TimingTarget)

TimingTarget TimingTargets.previousItem (obj: TimingTarget)

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