Adobe InDesign CS6 Server (8.0) Object Model JS: GotoPreviousStateBehaviors

InDesign Server CS6

Class

GotoPreviousStateBehaviors

 A collection of goto previous state behaviors.

See also GotoPreviousStateBehavior.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

GotoPreviousStateBehavior anyItem ()
Returns any GotoPreviousStateBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoPreviousStateBehavior
Long Integer
String
The GotoPreviousStateBehavior, index, or name at the beginning of the range. Can accept: GotoPreviousStateBehavior, Long Integer or String.
toGotoPreviousStateBehavior
Long Integer
String
The GotoPreviousStateBehavior, index, or name at the end of the range. Can accept: GotoPreviousStateBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoPreviousStateBehaviorThe GotoPreviousStateBehavior whose index comes before the desired GotoPreviousStateBehavior.

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

ParameterTypeDescription
objGotoPreviousStateBehaviorThe index of the GotoPreviousStateBehavior that follows the desired GotoPreviousStateBehavior.

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

Element of

Button.gotoPreviousStateBehaviors

Jongware, 28-Apr-2012 v3.0.3iContents :: Index