CellCollection

Overview

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

Represents a collection of cells.

This class provides 16 methods for working with CellCollection objects in Java programs. Available methods include: CellCollection, asICollection, asIEnumerable, asIPresentationComponent, asISlideComponent, asList, get, getPresentation, getSlide, getSlidePart, initInternal, iterator, and 2 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: presentation, slide, slidePart.

Properties

NameTypeAccessDescription
slideIBaseSlideReadGets the slide.
slidePartObjectReadReturns the slide part associated with this collection.
presentationIPresentationReadGets the presentation.

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 slide.
setParentSlide(parentSlide: IBaseSlide)Sets the parent slide for this collection.
getSlidePart()ObjectReturns the slide part associated with this collection.
getPresentation()IPresentationReturns the presentation.
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