CellCollection

Overview

CellCollection is a class in Aspose.Slides FOSS for Java. Inherits from: BaseCollection<ICell>, ICellCollection.

Represents a collection of cells.

Properties

NameTypeAccessDescription
slideIBaseSlideReadProvides access to the parent slide of the collection
slidePartObjectReadReturns the slide part associated with this collection.
presentationIPresentationReadProvides the presentation that contains this collection

Methods

SignatureDescription
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)CellCollectionInitializes this collection with the given cells, slide part, and parent slide.
get(index: int)ICellReturns the ICell at the specified index
size()intReturns 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()IBaseSlideReturns the parent slide associated with this collection
setParentSlide(parentSlide: IBaseSlide)Sets the parent slide for this collection.
getSlidePart()ObjectReturns the slide part associated with this collection.
getPresentation()IPresentationReturns the presentation that owns this collection
asISlideComponent()ISlideComponentReturns this collection as an ISlideComponent
asIPresentationComponent()IPresentationComponentReturns this collection as an IPresentationComponent
iterator()Iterator<ICell>Returns an iterator over the cells in the collection

See Also