com.aspose.slides
Class SlidesEx

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

public final class SlidesEx
extends java.lang.Object

Represents a collection of a slides.


Method Summary
 int addClone(SlideEx slide)
          Adds a copy of a specified slide to the end of the collection.
 SlideEx get(int index)
          Gets the element at the specified index.
 void insertClone(int index, SlideEx slide)
          Inserts a copy of a specified slide to specified position of the collection
 java.util.Iterator iterator()
          Returns an iterator for the entire collection.
 void remove(int index)
          Removes the element at the specified index of the collection.
 void remove(SlideEx value)
          Removes the first occurrence of a specific object from the collection.
 int size()
          Gets the number of elements actually contained in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Gets the number of elements actually contained in the collection.


get

public SlideEx get(int index)
Gets the element at the specified index.

Parameters:
index - index of the element to return.
Returns:
See SlideEx.

addClone

public int addClone(SlideEx slide)
Adds a copy of a specified slide to the end of the collection.

Parameters:
slide - Slide to clone.
Returns:
Index of new slide.

insertClone

public void insertClone(int index,
                        SlideEx slide)
Inserts a copy of a specified slide to specified position of the collection

Parameters:
index - Index of a new slide.
slide - Slide to clone.

remove

public void remove(SlideEx value)
Removes the first occurrence of a specific object from the collection.

Parameters:
value - The slide to remove from the collection.

remove

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

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

iterator

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