com.spire.presentation
Class CellCollection

java.lang.Object
  extended by com.spire.presentation.PptObject
      extended by com.spire.presentation.CellCollection
All Implemented Interfaces:
com.spire.ms.System.Collections.ICollection, com.spire.ms.System.Collections.IEnumerable, IActivePresentation, ISlideComponent, java.lang.Iterable
Direct Known Subclasses:
TableColumn, TableRow

public abstract class CellCollection
extends PptObject
implements ISlideComponent, com.spire.ms.System.Collections.ICollection

Represents a collection of cells.


Constructor Summary
CellCollection(Table parent)
           
 
Method Summary
 void copyTo(java.lang.Object[] array, int index)
          Copies all elements from the collection to the specified array.
 Cell get(int index)
          Gets a cell by index.
 int getCount()
          Gets the count of cells in a collection.
 Presentation getPresentation()
          Gets the parent presentation of a CellExCollection.
 ActiveSlide getSlide()
          Gets the parent slide of a CellExCollection.
 java.lang.Object getSyncRoot()
          Gets a synchronization root.
 boolean isSynchronized()
          Gets a value indicating whether access to the collection is synchronized (thread-safe).
 int size()
           
 
Methods inherited from class com.spire.presentation.PptObject
checkDisposed, getParent
 

Constructor Detail

CellCollection

public CellCollection(Table parent)
Method Detail

get

public Cell get(int index)
Gets a cell by index. Read-only .

Parameters:
index -
Returns:

getCount

public int getCount()
Gets the count of cells in a collection. Read-only .

Returns:

size

public int size()

getSlide

public ActiveSlide getSlide()
Gets the parent slide of a CellExCollection. Read-only .

Specified by:
getSlide in interface ISlideComponent
Returns:

getPresentation

public Presentation getPresentation()
Gets the parent presentation of a CellExCollection. Read-only .

Specified by:
getPresentation in interface IActivePresentation
Returns:

copyTo

public void copyTo(java.lang.Object[] array,
                   int index)
Copies all elements from the collection to the specified array.

Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread-safe).

Returns:

getSyncRoot

public java.lang.Object getSyncRoot()
Gets a synchronization root. Readonly .

Returns: