Edit in GitHubLog an issue

NestedStyles

A collection of nested styles.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

NestedStyle add( Object withProperties )

Creates a new NestedStyle.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new NestedStyle (Optional)

Number count()

Displays the number of elements in the NestedStyle.


NestedStyle item( Mixed index )

Returns the NestedStyle with the specified index or name.

Parameters

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

NestedStyle itemByRange( Mixed from, Mixed to )

Returns the NestedStyles within the specified range.

Parameters

TypeNameDescription
Mixed
from
The NestedStyle, index, or name at the beginning of the range. Can accept: NestedStyle, Long Integer or String.
Mixed
to
The NestedStyle, index, or name at the end of the range. Can accept: NestedStyle, Long Integer or String.

NestedStyle firstItem()

Returns the first NestedStyle in the collection.


NestedStyle lastItem()

Returns the last NestedStyle in the collection.


NestedStyle middleItem()

Returns the middle NestedStyle in the collection.


NestedStyle previousItem( NestedStyle obj )

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

Parameters

TypeNameDescription
NestedStyle
obj
The index of the NestedStyle that follows the desired NestedStyle.

NestedStyle nextItem( NestedStyle obj )

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

Parameters

TypeNameDescription
NestedStyle
obj
The NestedStyle whose index comes before the desired NestedStyle.

NestedStyle anyItem()

Returns any NestedStyle in the collection.


NestedStyle everyItem()

Returns every NestedStyle in the collection.


String toSource()

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


NestedStyle []( Number index )

Returns the NestedStyle with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.