com.aspose.slides
Class SmartArtShapeCollection

java.lang.Object
  extended by com.aspose.slides.SmartArtShapeCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ISmartArtShape>, com.aspose.ms.System.Collections.IEnumerable<ISmartArtShape>, IGenericCollection<ISmartArtShape>, ISmartArtShapeCollection, java.lang.Iterable<ISmartArtShape>

public class SmartArtShapeCollection
extends java.lang.Object
implements ISmartArtShapeCollection

Represents a collection of a SmartArt shapes


Method Summary
 void copyTo(ISmartArtShape[] array, int index)
           Copies all elements from the collection to the specified array.
 ISmartArtShape get_Item(int index)
           Gets the element at the specified index.
 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.Generic.IGenericEnumerator<ISmartArtShape> iterator()
           Returns an enumerator that iterates through 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. Read-only int.

Specified by:
size in interface IGenericCollection<ISmartArtShape>

get_Item

public ISmartArtShape get_Item(int index)

Gets the element at the specified index. Read-only SmartArtShape.>.

Specified by:
get_Item in interface ISmartArtShapeCollection
Parameters:
index -
Returns:
The SmartArt shape

isSynchronized

public boolean isSynchronized()

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

Specified by:
isSynchronized in interface IGenericCollection<ISmartArtShape>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<ISmartArtShape>

copyTo

public void copyTo(ISmartArtShape[] array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface IGenericCollection<ISmartArtShape>
Parameters:
array - Target array.
index - Starting index in the target array.

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ISmartArtShape> iterator()

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ISmartArtShape>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<ISmartArtShape>
Specified by:
iterator in interface java.lang.Iterable<ISmartArtShape>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.