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.
withProperties
Object 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.
index
The index or name. Can accept: Long Integer or String. -
itemByID( id)→ ObjectStyle -
Returns the ObjectStyle with the specified ID.
id
number The ID. -
itemByName( name)→ ObjectStyle -
Returns the ObjectStyle with the specified name.
name
string The name. -
itemByRange( from, to)→ ObjectStyle -
Returns the ObjectStyles within the specified range.
from
The ObjectStyle, index, or name at the beginning of the range. Can accept: ObjectStyle, Long Integer or String. to
The 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.
obj
ObjectStyle The ObjectStyle whose index comes before the desired ObjectStyle. -
previousItem( obj)→ ObjectStyle -
Returns the ObjectStyle with the index previous to the specified index.
obj
ObjectStyle The index of the ObjectStyle that follows the desired ObjectStyle. -
toSource( )→ string -
Generates a string which, if executed, will return the ObjectStyle.