com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ColumnCollection

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IColumn[] addClone(IColumn templ, boolean withAttachedColumns)
      Creates a copy of the specified template row and inserts it at the bottom of a table.
      void copyTo(com.aspose.ms.System.Array array, int index)
      Copies all elements from the collection to the specified array.
      IColumn get_Item(int index)
      Returns the column at the specified index.
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      java.lang.Object getSyncRoot()
      Returns a synchronization root.
      IColumn[] insertClone(int index, IColumn templ, boolean withAttachedColumns)
      Creates a copy of the specified template column and insert it at the specified position in a table.
      boolean isSynchronized()
      Returns a value indicating whether access to the collection is synchronized (thread-safe).
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IColumn> iterator()
      Returns an enumerator that iterates through the collection.
      void removeAt(int firstColumnIndex, boolean withAttachedRows)
      Removes a column at the specified position from a table.
      int size()
      Returns the number of columns 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 columns in a collection. Read-only int.

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

        public final IColumn[] addClone(IColumn templ,
                                        boolean withAttachedColumns)

        Creates a copy of the specified template row and inserts it at the bottom of a table.

        Specified by:
        addClone in interface IColumnCollection
        Parameters:
        templ - Column which is used as a template.
        withAttachedColumns - True to copy also all columns attached to the template row.
        Returns:
        Added columns.
      • insertClone

        public final IColumn[] insertClone(int index,
                                           IColumn templ,
                                           boolean withAttachedColumns)

        Creates a copy of the specified template column and insert it at the specified position in a table.

        Specified by:
        insertClone in interface IColumnCollection
        Parameters:
        index - Index of a new column.
        templ - Column which is used as a template.
        withAttachedColumns - True to copy also all columns attached to the template column.
        Returns:
        Inserted columns.
      • removeAt

        public final void removeAt(int firstColumnIndex,
                                   boolean withAttachedRows)

        Removes a column at the specified position from a table.

        Specified by:
        removeAt in interface IColumnCollection
        Parameters:
        firstColumnIndex - Index of a column to delete.
        withAttachedRows - True to delete also all attached columns.
      • iterator

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

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IColumn>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IColumn>
        Specified by:
        iterator in interface java.lang.Iterable<IColumn>
        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<IColumn>
        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<IColumn>
      • 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<IColumn>