BasicsWindows

A collection of windows.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → Window
anyItem(
)
 → Window
count(
)
 → number
everyItem(
)
 → Window
firstItem(
)
 → Window
item(
index)
 → Window
itemByName(
name)
 → Window
itemByRange(
from, to)
 → Window
lastItem(
)
 → Window
middleItem(
)
 → Window
nextItem(
obj)
 → Window
previousItem(
obj)
 → Window
toSource(
)
 → string
add(
[withProperties])
 → Window
Creates a new Window.
withProperties Object Initial values for properties of the new Window (Optional)
anyItem(
)
 → Window
Returns any Window in the collection.
count(
)
 → number
Displays the number of elements in the Window.
everyItem(
)
 → Window
Returns every Window in the collection.
firstItem(
)
 → Window
Returns the first Window in the collection.
item(
index)
 → Window
Returns the Window with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByName(
name)
 → Window
Returns the Window with the specified name.
name string The name.
itemByRange(
from, to)
 → Window
Returns the Windows within the specified range.
from The Window, index, or name at the beginning of the range. Can accept: Window, Long Integer or String.
to The Window, index, or name at the end of the range. Can accept: Window, Long Integer or String.
lastItem(
)
 → Window
Returns the last Window in the collection.
middleItem(
)
 → Window
Returns the middle Window in the collection.
nextItem(
obj)
 → Window
Returns the Window whose index follows the specified Window in the collection.
obj Window The Window whose index comes before the desired Window.
previousItem(
obj)
 → Window
Returns the Window with the index previous to the specified index.
obj Window The index of the Window that follows the desired Window.
toSource(
)
 → string
Generates a string which, if executed, will return the Window.