Interactive ElementsGotoNextStateBehaviors

A collection of goto next state behaviors.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → GotoNextStateBehavior
count(
)
 → number
item(
index)
 → GotoNextStateBehavior
toSource(
)
 → string
add(
[withProperties])
 → GotoNextStateBehavior
Creates a new GotoNextStateBehavior.
withProperties Object Initial values for properties of the new GotoNextStateBehavior (Optional)
anyItem(
)
 → GotoNextStateBehavior
Returns any GotoNextStateBehavior in the collection.
count(
)
 → number
Displays the number of elements in the GotoNextStateBehavior.
everyItem(
)
 → GotoNextStateBehavior
Returns every GotoNextStateBehavior in the collection.
firstItem(
)
 → GotoNextStateBehavior
Returns the first GotoNextStateBehavior in the collection.
item(
index)
 → GotoNextStateBehavior
Returns the GotoNextStateBehavior with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → GotoNextStateBehavior
Returns the GotoNextStateBehavior with the specified ID.
id number The ID.
itemByName(
name)
 → GotoNextStateBehavior
Returns the GotoNextStateBehavior with the specified name.
name string The name.
itemByRange(
from, to)
 → GotoNextStateBehavior
Returns the GotoNextStateBehaviors within the specified range.
from The GotoNextStateBehavior, index, or name at the beginning of the range. Can accept: GotoNextStateBehavior, Long Integer or String.
to The GotoNextStateBehavior, index, or name at the end of the range. Can accept: GotoNextStateBehavior, Long Integer or String.
lastItem(
)
 → GotoNextStateBehavior
Returns the last GotoNextStateBehavior in the collection.
middleItem(
)
 → GotoNextStateBehavior
Returns the middle GotoNextStateBehavior in the collection.
nextItem(
obj)
 → GotoNextStateBehavior
Returns the GotoNextStateBehavior whose index follows the specified GotoNextStateBehavior in the collection.
obj GotoNextStateBehavior The GotoNextStateBehavior whose index comes before the desired GotoNextStateBehavior.
previousItem(
obj)
 → GotoNextStateBehavior
Returns the GotoNextStateBehavior with the index previous to the specified index.
obj GotoNextStateBehavior The index of the GotoNextStateBehavior that follows the desired GotoNextStateBehavior.
toSource(
)
 → string
Generates a string which, if executed, will return the GotoNextStateBehavior.