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