Adobe InCopy CS5 (7.0) Object Model JS: GotoNextStateBehaviors

InCopy CS5

Class

GotoNextStateBehaviors

 A collection of goto next state behaviors.

QuickLinks

[], 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

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

ParameterTypeDescription
indexnumberThe index.

GotoNextStateBehavior anyItem ()
Returns any GotoNextStateBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoNextStateBehavior
Long Integer
String
The GotoNextStateBehavior, index, or name at the beginning of the range. Can accept: GotoNextStateBehavior, Long Integer or String.
toGotoNextStateBehavior
Long Integer
String
The GotoNextStateBehavior, index, or name at the end of the range. Can accept: GotoNextStateBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoNextStateBehaviorThe GotoNextStateBehavior whose index comes before the desired GotoNextStateBehavior.

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

ParameterTypeDescription
objGotoNextStateBehaviorThe index of the GotoNextStateBehavior that follows the desired GotoNextStateBehavior.

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

Element of

Button.gotoNextStateBehaviors

Jongware, 23-Mar-2011 v3.0.3dContents :: Index