Edit in GitHubLog an issue

GotoStateBehaviors

A collection of goto state behaviors.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the GotoStateBehavior.


GotoStateBehavior add( Object withProperties )

Creates a new GotoStateBehavior.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new GotoStateBehavior (Optional)

GotoStateBehavior item( Mixed index )

Returns the GotoStateBehavior with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

GotoStateBehavior itemByName( String name )

Returns the GotoStateBehavior with the specified name.

Parameters

TypeNameDescription
String
name
The name.

GotoStateBehavior itemByID( Number id )

Returns the GotoStateBehavior with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

GotoStateBehavior itemByRange( Mixed from, Mixed to )

Returns the GotoStateBehaviors within the specified range.

Parameters

TypeNameDescription
Mixed
from
The GotoStateBehavior, index, or name at the beginning of the range. Can accept: GotoStateBehavior, Long Integer or String.
Mixed
to
The GotoStateBehavior, index, or name at the end of the range. Can accept: GotoStateBehavior, Long Integer or String.

GotoStateBehavior firstItem()

Returns the first GotoStateBehavior in the collection.


GotoStateBehavior lastItem()

Returns the last GotoStateBehavior in the collection.


GotoStateBehavior middleItem()

Returns the middle GotoStateBehavior in the collection.


GotoStateBehavior previousItem( GotoStateBehavior obj )

Returns the GotoStateBehavior with the index previous to the specified index.

Parameters

TypeNameDescription
GotoStateBehavior
obj
The index of the GotoStateBehavior that follows the desired GotoStateBehavior.

GotoStateBehavior nextItem( GotoStateBehavior obj )

Returns the GotoStateBehavior whose index follows the specified GotoStateBehavior in the collection.

Parameters

TypeNameDescription
GotoStateBehavior
obj
The GotoStateBehavior whose index comes before the desired GotoStateBehavior.

GotoStateBehavior anyItem()

Returns any GotoStateBehavior in the collection.


GotoStateBehavior everyItem()

Returns every GotoStateBehavior in the collection.


String toSource()

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


GotoStateBehavior []( Number index )

Returns the GotoStateBehavior with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.