Adobe InDesign CS2 (4.0) Object Model JS: GotoNextViewBehaviors

InDesign CS2

Class

GotoNextViewBehaviors

 A collection of goto next view behavior objects.

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

GotoNextViewBehavior add ([withProperties: Object])
Creates a new GotoNextViewBehavior.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new GotoNextViewBehavior (Optional)

GotoNextViewBehavior anyItem ()
Returns any GotoNextViewBehavior in the collection.

number count ()
Displays the number of elements in the GotoNextViewBehavior.

Array of GotoNextViewBehavior everyItem ()
Returns every GotoNextViewBehavior in the collection.

GotoNextViewBehavior firstItem ()
Returns the first GotoNextViewBehavior in the collection.

GotoNextViewBehavior item (index: any)
Returns the GotoNextViewBehavior with the specified index or name.

ParameterTypeDescription
indexLong
String
The index or name. Can accept: Long or String.

GotoNextViewBehavior itemByID (id: number)
Returns the GotoNextViewBehavior with the specified ID.

ParameterTypeDescription
idnumberThe ID.

GotoNextViewBehavior itemByName (name: string)
Returns the GotoNextViewBehavior with the specified name.

ParameterTypeDescription
namestringThe name.

Array of GotoNextViewBehavior itemByRange (from: any, to: any)
Returns the GotoNextViewBehaviors within the specified range.

ParameterTypeDescription
fromGotoNextViewBehavior
Long
String
The GotoNextViewBehavior, index, or name at the beginning of the range. Can accept: GotoNextViewBehavior, Long or String.
toGotoNextViewBehavior
Long
String
The GotoNextViewBehavior, index, or name at the end of the range. Can accept: GotoNextViewBehavior, Long or String.

GotoNextViewBehavior lastItem ()
Returns the last GotoNextViewBehavior in the collection.

GotoNextViewBehavior middleItem ()
Returns the middle GotoNextViewBehavior in the collection.

GotoNextViewBehavior nextItem (obj: GotoNextViewBehavior)
Returns the GotoNextViewBehavior whose index follows the specified GotoNextViewBehavior in the collection.

ParameterTypeDescription
objGotoNextViewBehaviorThe GotoNextViewBehavior whose index comes before the desired GotoNextViewBehavior.

GotoNextViewBehavior previousItem (obj: GotoNextViewBehavior)
Returns the GotoNextViewBehavior with the index previous to the specified index.

ParameterTypeDescription
objGotoNextViewBehaviorThe index of the GotoNextViewBehavior that follows the desired GotoNextViewBehavior.

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

Element of

Button.gotoNextViewBehaviors

FormField.gotoNextViewBehaviors

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