Edit in GitHubLog an issue

NamedGrids

A collection of named grids.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

NamedGrid add( Object withProperties )

Creates a new NamedGrid.

Parameters

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

Number count()

Displays the number of elements in the NamedGrid.


NamedGrid item( Mixed index )

Returns the NamedGrid with the specified index or name.

Parameters

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

NamedGrid itemByName( String name )

Returns the NamedGrid with the specified name.

Parameters

TypeNameDescription
String
name
The name.

NamedGrid itemByID( Number id )

Returns the NamedGrid with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

NamedGrid itemByRange( Mixed from, Mixed to )

Returns the NamedGrids within the specified range.

Parameters

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

NamedGrid firstItem()

Returns the first NamedGrid in the collection.


NamedGrid lastItem()

Returns the last NamedGrid in the collection.


NamedGrid middleItem()

Returns the middle NamedGrid in the collection.


NamedGrid previousItem( NamedGrid obj )

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

Parameters

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

NamedGrid nextItem( NamedGrid obj )

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

Parameters

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

NamedGrid anyItem()

Returns any NamedGrid in the collection.


NamedGrid everyItem()

Returns every NamedGrid in the collection.


String toSource()

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


NamedGrid []( Number index )

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