PageCollection

Inheritance: java.lang.Object, com.aspose.diagram.Collection

public class PageCollection extends Collection

Page collection.

Methods

MethodDescription
add(Page page)Add the page in the collection.
clear()Removes all elements from collection.
dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
get(int index)Gets the element at the specified index.
getClass()
getCount()Gets the number of elements actually contained in the collection.
getPage(int ID)Gets the element at the specified ID.
getPage(String name)Gets the element at the specified name.
hashCode()
isExist(int index)Is exist item in the collection.
iterator()Supports a simple iteration over a nongeneric collection.
notify()
notifyAll()
remove(Page page)Remove the page from the collection.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

add(Page page)

public int add(Page page)

Add the page in the collection.

Parameters:

ParameterTypeDescription
pagePage

Returns: int -

clear()

public void clear()

Removes all elements from collection.

dispose()

public void dispose()

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public Page get(int index)

Gets the element at the specified index.

Parameters:

ParameterTypeDescription
indexint

Returns: Page -

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCount()

public int getCount()

Gets the number of elements actually contained in the collection.

Returns: int

getPage(int ID)

public Page getPage(int ID)

Gets the element at the specified ID.

Parameters:

ParameterTypeDescription
IDint

Returns: Page -

getPage(String name)

public Page getPage(String name)

Gets the element at the specified name.

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: Page -

hashCode()

public native int hashCode()

Returns: int

isExist(int index)

public boolean isExist(int index)

Is exist item in the collection.

Parameters:

ParameterTypeDescription
indexintindex of element.

Returns: boolean -

iterator()

public Iterator iterator()

Supports a simple iteration over a nongeneric collection.

Returns: java.util.Iterator -

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(Page page)

public void remove(Page page)

Remove the page from the collection.

Parameters:

ParameterTypeDescription
pagePage

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int