com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class CellCollection

  • java.lang.Object
    • com.aspose.slides.CellCollection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void copyTo(com.aspose.ms.System.Array array, int index)
      Copies all elements from the collection to the specified array.
      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 java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.

      • size

        public final int size()

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

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection<ICell>
      • get_Item

        public final 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 final 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 System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • copyTo

        public final void copyTo(com.aspose.ms.System.Array array,
                                 int index)

        Copies all elements from the collection to the specified array.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection<ICell>
        Parameters:
        array - Target array.
        index - Starting index in the target array.
      • isSynchronized

        public final boolean isSynchronized()

        Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection<ICell>
      • getSyncRoot

        public final java.lang.Object getSyncRoot()

        Returns a synchronization root. Read-only Object.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<ICell>