Edit in GitHubLog an issue

Preferences

A collection of preferences objects.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Preference.


Preference item( Mixed index )

Returns the Preference with the specified index or name.

Parameters

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

Preference itemByRange( Mixed from, Mixed to )

Returns the Preferences within the specified range.

Parameters

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

Preference firstItem()

Returns the first Preference in the collection.


Preference lastItem()

Returns the last Preference in the collection.


Preference middleItem()

Returns the middle Preference in the collection.


Preference previousItem( Preference obj )

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

Parameters

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

Preference nextItem( Preference obj )

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

Parameters

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

Preference anyItem()

Returns any Preference in the collection.


Preference everyItem()

Returns every Preference in the collection.


String toSource()

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


Preference []( Number index )

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