com.aspose.slides
Class PlaceholderCollection

java.lang.Object
  extended by com.aspose.slides.Placeholders
      extended by com.aspose.slides.PlaceholderCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, java.lang.Iterable

public final class PlaceholderCollection
extends Placeholders
implements com.aspose.ms.System.Collections.ICollection

Represents a collection of a placeholders.


Method Summary
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 Placeholder get_Item(int index)
           Gets the element at the specified index.
 int getCount()
           Gets the number of elements actually contained in the collection.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 com.aspose.ms.System.Collections.IDictionaryEnumerator iterator()
           Returns an enumerator for the entire collection.
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection

iterator

public com.aspose.ms.System.Collections.IDictionaryEnumerator iterator()

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable
Specified by:
iterator in interface java.lang.Iterable
Overrides:
iterator in class Placeholders
Returns:
An IDictionaryEnumerator for the entire collection.

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection

getCount

public int getCount()
Description copied from class: Placeholders

Gets the number of elements actually contained in the collection.

Overrides:
getCount in class Placeholders

get_Item

public Placeholder get_Item(int index)
Description copied from class: Placeholders

Gets the element at the specified index.

Overrides:
get_Item in class Placeholders