Adobe InDesign CS4 (6.0) Object Model JS: GotoNextViewBehaviors

InDesign CS4

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 [] (index: number)
Returns the GotoNextViewBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

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 Integer
String
The index or name. Can accept: Long Integer 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 Integer
String
The GotoNextViewBehavior, index, or name at the beginning of the range. Can accept: GotoNextViewBehavior, Long Integer or String.
toGotoNextViewBehavior
Long Integer
String
The GotoNextViewBehavior, index, or name at the end of the range. Can accept: GotoNextViewBehavior, Long Integer 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, 20-Jun-2010 v3.0.3dContents :: Index