ObjectStyles

A collection of object styles.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

ObjectStyle [] (index:Number)

Returns the ObjectStyle with the specified index.

Parameter

Type

Description

index

Number

The index.

ObjectStyle add (withProperties:Object)

Creates a new ObjectStyle.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new ObjectStyle (Optional)

ObjectStyle anyItem ()

Returns any ObjectStyle in the collection.

Number count ()

Displays the number of elements in the ObjectStyle.

ObjectStyle everyItem ()

Returns every ObjectStyle in the collection.

ObjectStyle firstItem ()

Returns the first ObjectStyle in the collection.

ObjectStyle item (index:Varies LongInteger String)

Returns the ObjectStyle with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

ObjectStyle itemByID (id:Number)

Returns the ObjectStyle with the specified ID.

Parameter

Type

Description

id

Number

The ID.

ObjectStyle itemByName (name:String)

Returns the ObjectStyle with the specified name.

Parameter

Type

Description

name

String

The name.

ObjectStyle itemByRange (from:Varies LongInteger ObjectStyle String, to:Varies LongInteger ObjectStyle String)

Returns the ObjectStyles within the specified range.

Parameter

Type

Description

from

LongInteger

ObjectStyle

String

The ObjectStyle, index, or name at the beginning of the range. Can accept: ObjectStyle, Long Integer or String.

to

LongInteger

ObjectStyle

String

The ObjectStyle, index, or name at the end of the range. Can accept: ObjectStyle, Long Integer or String.

ObjectStyle lastItem ()

Returns the last ObjectStyle in the collection.

ObjectStyle middleItem ()

Returns the middle ObjectStyle in the collection.

ObjectStyle nextItem (obj:ObjectStyle)

Returns the ObjectStyle whose index follows the specified ObjectStyle in the collection.

Parameter

Type

Description

obj

ObjectStyle

The ObjectStyle whose index comes before the desired ObjectStyle.

ObjectStyle previousItem (obj:ObjectStyle)

Returns the ObjectStyle with the index previous to the specified index.

Parameter

Type

Description

obj

ObjectStyle

The index of the ObjectStyle that follows the desired ObjectStyle.

String toSource ()

Generates a string which, if executed, will return the ObjectStyle.