CellCollection
Overview
CellCollection is a class in Aspose.Slides FOSS for Java.
Inherits from: BaseCollection<ICell>, ICellCollection.
Represents a collection of cells.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
slide | IBaseSlide | Read | Provides access to the parent slide of the collection |
slidePart | Object | Read | Returns the slide part associated with this collection. |
presentation | IPresentation | Read | Provides the presentation that contains this collection |
Methods
| Signature | Description |
|---|---|
CellCollection() | Creates an empty CellCollection. |
CellCollection(cells: List<ICell>) | Creates a new CellCollection with the given cells. |
CellCollection(cells: List<ICell>, parentSlide: IBaseSlide) | Creates a new CellCollection with the given cells and parent slide. |
initInternal(cells: List<ICell>, slidePart: Object, parentSlide: IBaseSlide) → CellCollection | Initializes this collection with the given cells, slide part, and parent slide. |
get(index: int) → ICell | Returns the ICell at the specified index |
size() → int | Returns the number of cells in the collection |
asList() → List<ICell> | Returns an unmodifiable view of the internal cell list. |
asICollection() → List<ICell> | Returns the cells as a generic collection |
asIEnumerable() → Iterable<ICell> | Returns an iterable over the cells |
getSlide() → IBaseSlide | Returns the parent slide associated with this collection |
setParentSlide(parentSlide: IBaseSlide) | Sets the parent slide for this collection. |
getSlidePart() → Object | Returns the slide part associated with this collection. |
getPresentation() → IPresentation | Returns the presentation that owns this collection |
asISlideComponent() → ISlideComponent | Returns this collection as an ISlideComponent |
asIPresentationComponent() → IPresentationComponent | Returns this collection as an IPresentationComponent |
iterator() → Iterator<ICell> | Returns an iterator over the cells in the collection |