Behaviors
See also Behavior.
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Behavior [] (index:
number)
Returns the Behavior with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Behavior anyItem ()
Returns any Behavior in the collection.
number count ()
Displays the number of elements in the Behavior.
Array of Behavior everyItem ()
Returns every Behavior in the collection.
Behavior firstItem ()
Returns the first Behavior in the collection.
Behavior item (index:
varies)
Returns the Behavior with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Behavior itemByID (id:
number)
Returns the Behavior with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
Behavior itemByName (name:
string)
Returns the Behavior with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of Behavior itemByRange (from:
varies, to:
varies)
Returns the Behaviors within the specified range.
Parameter | Type | Description |
---|---|---|
from | Behavior Long Integer String | The Behavior, index, or name at the beginning of the range. Can accept: Behavior, Long Integer or String. |
to | Behavior Long Integer String | The Behavior, index, or name at the end of the range. Can accept: Behavior, Long Integer or String. |
Behavior lastItem ()
Returns the last Behavior in the collection.
Behavior middleItem ()
Returns the middle Behavior in the collection.
Behavior nextItem (obj:
Behavior)
Returns the Behavior whose index follows the specified Behavior in the collection.
Parameter | Type | Description |
---|---|---|
obj | Behavior | The Behavior whose index comes before the desired Behavior. |
Behavior previousItem (obj:
Behavior)
Returns the Behavior with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | Behavior | The index of the Behavior that follows the desired Behavior. |
string toSource ()
Generates a string which, if executed, will return the Behavior.
Element of
Button.behaviors
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |