com.aspose.slides
Class CellCollection

java.lang.Object
  extended by com.aspose.slides.CellCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ICell>, com.aspose.ms.System.Collections.IEnumerable<ICell>, ICellCollection, IGenericCollection<ICell>, IPresentationComponent, ISlideComponent, java.lang.Iterable<ICell>
Direct Known Subclasses:
Column, Row

public abstract class CellCollection
extends java.lang.Object
implements ICellCollection

Represents a collection of cells.


Method Summary
 ICell get_Item(int index)
           Returns a cell by it's position.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 IPresentation getPresentation()
           Returns the parent presentation of a CellCollection.
 IBaseSlide getSlide()
           Returns the parent slide of a CellCollection.
 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<ICell> iterator()
           Returns an enumerator that iterates through the 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
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo
 

Method Detail

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.


size

public int size()

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

Specified by:
size in interface IGenericCollection<ICell>

get_Item

public ICell get_Item(int index)

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


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

Specified by:
get_Item in interface ICellCollection

iterator

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

Returns an enumerator that iterates through the collection.

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

getSlide

public IBaseSlide getSlide()

Returns the parent slide of a CellCollection. Read-only IBaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

Returns the parent presentation of a CellCollection. Read-only IPresentation.

Specified by:
getPresentation in interface IPresentationComponent

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

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<ICell>


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