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