Edit in GitHubLog an issue

StaticTexts

A collection of static text objects.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

StaticText add( Object withProperties )

Creates a new StaticText.

Parameters

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

Number count()

Displays the number of elements in the StaticText.


StaticText item( Mixed index )

Returns the StaticText with the specified index or name.

Parameters

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

StaticText itemByID( Number id )

Returns the StaticText with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

StaticText itemByRange( Mixed from, Mixed to )

Returns the StaticTexts within the specified range.

Parameters

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

StaticText firstItem()

Returns the first StaticText in the collection.


StaticText lastItem()

Returns the last StaticText in the collection.


StaticText middleItem()

Returns the middle StaticText in the collection.


StaticText previousItem( StaticText obj )

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

Parameters

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

StaticText nextItem( StaticText obj )

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

Parameters

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

StaticText anyItem()

Returns any StaticText in the collection.


StaticText everyItem()

Returns every StaticText in the collection.


String toSource()

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


StaticText []( Number index )

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