Class

GotoStateBehaviors

 A collection of goto state behaviors.

See also GotoStateBehavior.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

GotoStateBehavior anyItem ()
Returns any GotoStateBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromGotoStateBehavior
Long Integer
String
The GotoStateBehavior, index, or name at the beginning of the range. Can accept: GotoStateBehavior, Long Integer or String.
toGotoStateBehavior
Long Integer
String
The GotoStateBehavior, index, or name at the end of the range. Can accept: GotoStateBehavior, Long Integer or String.

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

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

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

ParameterTypeDescription
objGotoStateBehaviorThe GotoStateBehavior whose index comes before the desired GotoStateBehavior.

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

ParameterTypeDescription
objGotoStateBehaviorThe index of the GotoStateBehavior that follows the desired GotoStateBehavior.

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

Element of

Button.gotoStateBehaviors

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