Widgets
A collection of widgets.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the Widget.
Widget item( Mixed index )
Returns the Widget with the specified index or name.
Parameters
Widget itemByID( Number id )
Returns the Widget with the specified ID.
Parameters
Widget itemByRange( Mixed from, Mixed to )
Returns the Widgets within the specified range.
Parameters
Widget firstItem()
Returns the first Widget in the collection.
Widget lastItem()
Returns the last Widget in the collection.
Widget middleItem()
Returns the middle Widget in the collection.
Widget previousItem( Widget obj )
Returns the Widget with the index previous to the specified index.
Parameters
Widget nextItem( Widget obj )
Returns the Widget whose index follows the specified Widget in the collection.
Parameters
Widget anyItem()
Returns any Widget in the collection.
Widget everyItem()
Returns every Widget in the collection.
String toSource()
Generates a string which, if executed, will return the Widget.
Widget []( Number index )
Returns the Widget with the specified index.