Edit in GitHubLog an issue

DialogRows

A collection of dialog rows.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

DialogRow add( Object withProperties )

Creates a new DialogRow.

Parameters

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

Number count()

Displays the number of elements in the DialogRow.


DialogRow item( Mixed index )

Returns the DialogRow with the specified index or name.

Parameters

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

DialogRow itemByID( Number id )

Returns the DialogRow with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

DialogRow itemByRange( Mixed from, Mixed to )

Returns the DialogRows within the specified range.

Parameters

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

DialogRow firstItem()

Returns the first DialogRow in the collection.


DialogRow lastItem()

Returns the last DialogRow in the collection.


DialogRow middleItem()

Returns the middle DialogRow in the collection.


DialogRow previousItem( DialogRow obj )

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

Parameters

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

DialogRow nextItem( DialogRow obj )

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

Parameters

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

DialogRow anyItem()

Returns any DialogRow in the collection.


DialogRow everyItem()

Returns every DialogRow in the collection.


String toSource()

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


DialogRow []( Number index )

Returns the DialogRow 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.