BookContents
A collection of book content objects.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
BookContent add( File fullName, Number at, Object withProperties )
Creates a new book content object.
Parameters
Number count()
Displays the number of elements in the BookContent.
BookContent item( Mixed index )
Returns the BookContent with the specified index or name.
Parameters
BookContent itemByName( String name )
Returns the BookContent with the specified name.
Parameters
BookContent itemByID( Number id )
Returns the BookContent with the specified ID.
Parameters
BookContent itemByRange( Mixed from, Mixed to )
Returns the BookContents within the specified range.
Parameters
BookContent firstItem()
Returns the first BookContent in the collection.
BookContent lastItem()
Returns the last BookContent in the collection.
BookContent middleItem()
Returns the middle BookContent in the collection.
BookContent previousItem( BookContent obj )
Returns the BookContent with the index previous to the specified index.
Parameters
BookContent nextItem( BookContent obj )
Returns the BookContent whose index follows the specified BookContent in the collection.
Parameters
BookContent anyItem()
Returns any BookContent in the collection.
BookContent everyItem()
Returns every BookContent in the collection.
String toSource()
Generates a string which, if executed, will return the BookContent.
BookContent []( Number index )
Returns the BookContent with the specified index.