A collection of quit behavior objects.
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
QuitBehavior add (withProperties:Object)
Creates a new QuitBehavior.
|
Parameter |
Type |
Description |
|---|---|---|
|
withProperties |
Initial values for properties of the new QuitBehavior (Optional) |
QuitBehavior anyItem ()
Returns any QuitBehavior in the collection.
Number count ()
Displays the number of elements in the QuitBehavior.
QuitBehavior everyItem ()
Returns every QuitBehavior in the collection.
QuitBehavior firstItem ()
Returns the first QuitBehavior in the collection.
QuitBehavior item (index:Varies Long String)
Returns the QuitBehavior with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
Long |
The index or name. Can accept: Long or String. |
QuitBehavior itemByID (id:Number)
Returns the QuitBehavior with the specified ID.
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
The ID. |
QuitBehavior itemByName (name:String)
Returns the QuitBehavior with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
QuitBehavior itemByRange (from:Varies Long QuitBehavior String, to:Varies Long QuitBehavior String)
Returns the QuitBehaviors within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Long |
The QuitBehavior, index, or name at the beginning of the range. Can accept: QuitBehavior, Long or String. |
|
to |
Long |
The QuitBehavior, index, or name at the end of the range. Can accept: QuitBehavior, Long or String. |
QuitBehavior lastItem ()
Returns the last QuitBehavior in the collection.
QuitBehavior middleItem ()
Returns the middle QuitBehavior in the collection.
QuitBehavior nextItem (obj:QuitBehavior)
Returns the QuitBehavior whose index follows the specified QuitBehavior in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The QuitBehavior whose index comes before the desired QuitBehavior. |
QuitBehavior previousItem (obj:QuitBehavior)
Returns the QuitBehavior with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the QuitBehavior that follows the desired QuitBehavior. |
String toSource ()
Generates a string which, if executed, will return the QuitBehavior.