Adobe InDesign CS5 (7.0) Object Model JS: IdleEvent

InDesign CS5

Class

IdleEvent

 An idle event. Base Class: Event

QuickLinks

getElements, preventDefault, stopPropagation, toSource, toSpecifier

Hierarchy

IdleTask
Event
IdleEvent
MutationEvent

Properties

PropertyTypeAccessDescription
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 IdleEvent.
indexnumber readonlyThe index of the IdleEvent within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentIdleTask readonlyThe parent of the IdleEvent (a IdleTask).
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.
timeAllocatednumber readonlyAmount of time allocated to this task at the time the event was dispatched.
timeStampDate readonlyThe time the event was initialized.

Class

PropertyTypeAccessDescription
ON_IDLEstring readonlyDispatched at idle time for this IdleEvent. This event does not bubble. This event is not cancelable. (default: onIdle)

Methods

Instances

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

string toSpecifier ()
Retrieves the object specifier.

Return

Array of IdleEvent IdleEvent.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index