com.aspose.slides
Class Pictures

java.lang.Object
  extended by com.aspose.slides.Pictures

public final class Pictures
extends java.lang.Object

Represents the collection of a Pictures.


Constructor Summary
protected Pictures()
           
 
Method Summary
 int add(Picture picture)
          Adds the picture at the end of this collection.
protected  void clear()
          Removes all elements from this collection.
 Picture get(int index)
          Returns the element at the specified index.
 Picture getPictureById(int id)
          Returns the Picture by its Id.
protected  java.util.Iterator iterator()
          Returns the iterator for the entire collection.
protected  void remove(int index)
          Removes the element at the specified index of this collection.
protected  void remove(java.lang.Object obj)
           
 int size()
          Returns the number of elements in this collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pictures

protected Pictures()
Method Detail

size

public int size()
Returns the number of elements in this collection.

Returns:
The number of elements in this collection.

get

public Picture get(int index)
Returns the element at the specified index.

Parameters:
index - index of element to return.
Returns:
The element at the specified index.

getPictureById

public Picture getPictureById(int id)
Returns the Picture by its Id.

Parameters:
id - picture's Id.
Returns:
The Picture object or null if picture was not found.

add

public int add(Picture picture)
Adds the picture at the end of this collection.

Parameters:
picture - the Picture to be added at the end of this collection.
Returns:
The unique Id of the added picture.

clear

protected void clear()
Removes all elements from this collection.


remove

protected void remove(int index)
Removes the element at the specified index of this collection.

Parameters:
index - the zero-based index of the element to remove.

remove

protected void remove(java.lang.Object obj)

iterator

protected java.util.Iterator iterator()
Returns the iterator for the entire collection.

Returns:
The iterator for the entire collection.