Adobe InDesign CS5 (7.0) Object Model JS: GotoPreviousViewBehaviors

InDesign CS5

Class

GotoPreviousViewBehaviors

 A collection of goto previous 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

GotoPreviousViewBehavior [] (index: number)
Returns the GotoPreviousViewBehavior with the specified index.

ParameterTypeDescription
indexnumberThe index.

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

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

GotoPreviousViewBehavior anyItem ()
Returns any GotoPreviousViewBehavior in the collection.

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

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

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

GotoPreviousViewBehavior item (index: varies)
Returns the GotoPreviousViewBehavior with the specified index or name.

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

Array of GotoPreviousViewBehavior itemByRange (from: varies, to: varies)
Returns the GotoPreviousViewBehaviors within the specified range.

ParameterTypeDescription
fromGotoPreviousViewBehavior
Long Integer
String
The GotoPreviousViewBehavior, index, or name at the beginning of the range. Can accept: GotoPreviousViewBehavior, Long Integer or String.
toGotoPreviousViewBehavior
Long Integer
String
The GotoPreviousViewBehavior, index, or name at the end of the range. Can accept: GotoPreviousViewBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoPreviousViewBehaviorThe GotoPreviousViewBehavior whose index comes before the desired GotoPreviousViewBehavior.

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

ParameterTypeDescription
objGotoPreviousViewBehaviorThe index of the GotoPreviousViewBehavior that follows the desired GotoPreviousViewBehavior.

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

Element of

Button.gotoPreviousViewBehaviors

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