com.aspose.slides
Class CellExCollection

java.lang.Object
  extended by com.aspose.slides.CellExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<CellEx>, com.aspose.ms.System.Collections.IEnumerable<CellEx>, java.lang.Iterable<CellEx>
Direct Known Subclasses:
ColumnEx, RowEx

public abstract class CellExCollection
extends java.lang.Object
implements com.aspose.ms.System.Collections.ICollection<CellEx>

Represents a collection of cells.


Method Summary
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 CellEx get_Item(int index)
           Returns a cell by it's position.
 PresentationEx getPresentation()
           Returns the parent presentation of a CellExCollection.
 BaseSlideEx getSlide()
           Returns the parent slide of a CellExCollection.
 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.IEnumerator iterator()
           Returns an enumerator for all cells which top-left corner belongs to this collection.
 int size()
           Returns the number of cells in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get_Item

public CellEx get_Item(int index)

Returns a cell by it's position. Read-only CellEx.


One CellEx object can be returned for several indexes in case cell is merged.


size

public int size()

Returns the number of cells in a collection. Read-only int.

Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<CellEx>

getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a CellExCollection. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a CellExCollection. Read-only PresentationEx.


iterator

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

Returns an enumerator for all cells which top-left corner belongs to this collection. Each cell returned only once.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<CellEx>
Specified by:
iterator in interface java.lang.Iterable<CellEx>
Returns:
An IEnumerator for the collection.

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<CellEx>
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<CellEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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