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