ObjectStyles
A collection of object styles.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
ObjectStyle add( Object withProperties )
Creates a new ObjectStyle.
Parameters
Number count()
Displays the number of elements in the ObjectStyle.
ObjectStyle item( Mixed index )
Returns the ObjectStyle with the specified index or name.
Parameters
ObjectStyle itemByName( String name )
Returns the ObjectStyle with the specified name.
Parameters
ObjectStyle itemByID( Number id )
Returns the ObjectStyle with the specified ID.
Parameters
ObjectStyle itemByRange( Mixed from, Mixed to )
Returns the ObjectStyles within the specified range.
Parameters
ObjectStyle firstItem()
Returns the first ObjectStyle in the collection.
ObjectStyle lastItem()
Returns the last ObjectStyle in the collection.
ObjectStyle middleItem()
Returns the middle ObjectStyle in the collection.
ObjectStyle previousItem( ObjectStyle obj )
Returns the ObjectStyle with the index previous to the specified index.
Parameters
ObjectStyle nextItem( ObjectStyle obj )
Returns the ObjectStyle whose index follows the specified ObjectStyle in the collection.
Parameters
ObjectStyle anyItem()
Returns any ObjectStyle in the collection.
ObjectStyle everyItem()
Returns every ObjectStyle in the collection.
String toSource()
Generates a string which, if executed, will return the ObjectStyle.
ObjectStyle []( Number index )
Returns the ObjectStyle with the specified index.