Methods

add(page) → Number

Add the page in the collection.

Parameter

Name Type Optional Description

page

Page

 

Returns

Number 

clear()

Removes all elements from collection.

dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

get(index) → Page

Gets the element at the specified index.

Parameter

Name Type Optional Description

index

Number

 

Returns

Page 

getCount()

Gets the number of elements actually contained in the collection.

getPage(ID) → Page

Gets the element at the specified ID.

Parameter

Name Type Optional Description

ID

Number

 

Returns

Page 

getPage(name) → Page

Gets the element at the specified name.

Parameter

Name Type Optional Description

name

String

 

Returns

Page 

isExist(index) → boolean

Is exist item in the collection.

Parameter

Name Type Optional Description

index

Number

 

index of element.

Returns

boolean 

iterator() → Iterator

Supports a simple iteration over a nongeneric collection.

Returns

Iterator 

remove(page)

Remove the page from the collection.

Parameter

Name Type Optional Description

page

Page