Edit in GitHubLog an issue

Events

A collection of events.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Event.


Event item( Mixed index )

Returns the Event with the specified index or name.

Parameters

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

Event itemByID( Number id )

Returns the Event with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

Event itemByRange( Mixed from, Mixed to )

Returns the Events within the specified range.

Parameters

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

Event firstItem()

Returns the first Event in the collection.


Event lastItem()

Returns the last Event in the collection.


Event middleItem()

Returns the middle Event in the collection.


Event previousItem( Event obj )

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

Parameters

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

Event nextItem( Event obj )

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

Parameters

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

Event anyItem()

Returns any Event in the collection.


Event everyItem()

Returns every Event in the collection.


String toSource()

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


Event []( Number index )

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