com.aspose.slides
Class ColumnExCollection

java.lang.Object
  extended by com.aspose.slides.ColumnsEx
      extended by com.aspose.slides.ColumnExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<ColumnEx>, com.aspose.ms.System.Collections.IEnumerable<ColumnEx>, java.lang.Iterable<ColumnEx>

public final class ColumnExCollection
extends ColumnsEx
implements com.aspose.ms.System.Collections.ICollection<ColumnEx>

Represents collection of columns in a table.


Method Summary
 int addClone(ColumnEx template, 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.
 ColumnEx get_Item(int index)
           Returns the column at the specified index.
 int getCount()
           Returns the number of columns in a collection.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 void insertClone(int index, ColumnEx template, boolean withAttachedColumns)
           Creates a copy of the specified template row 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.IEnumerator<ColumnEx> iterator()
           Returns an enumerator for the entire collection.
 void removeAt(int firstColumnIndex, boolean withAttachedRows)
           Removes a column at the specified position from a table.
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyTo

public 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<ColumnEx>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

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

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<ColumnEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<ColumnEx>

get_Item

public ColumnEx get_Item(int index)

Returns the column at the specified index. Read-only ColumnEx.

Overrides:
get_Item in class ColumnsEx

getCount

public int getCount()
Description copied from class: ColumnsEx

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

Overrides:
getCount in class ColumnsEx

addClone

public int addClone(ColumnEx template,
                    boolean withAttachedColumns)
Description copied from class: ColumnsEx

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

Overrides:
addClone in class ColumnsEx
Parameters:
template - Column which is used as a template.
withAttachedColumns - True to copy also all columns attached to the template row.
Returns:
Index of a new row.

insertClone

public void insertClone(int index,
                        ColumnEx template,
                        boolean withAttachedColumns)
Description copied from class: ColumnsEx

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

Overrides:
insertClone in class ColumnsEx
Parameters:
index - Index of a new row.
template - Column which is used as a template.
withAttachedColumns - True to copy also all columns attached to the template row.

removeAt

public void removeAt(int firstColumnIndex,
                     boolean withAttachedRows)
Description copied from class: ColumnsEx

Removes a column at the specified position from a table.

Overrides:
removeAt in class ColumnsEx
Parameters:
firstColumnIndex - Index of a column to delete.
withAttachedRows - True to delete also all attached columns.

iterator

public com.aspose.ms.System.Collections.IEnumerator<ColumnEx> iterator()
Description copied from class: ColumnsEx

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<ColumnEx>
Specified by:
iterator in interface java.lang.Iterable<ColumnEx>
Overrides:
iterator in class ColumnsEx
Returns:
An IEnumerator for the entire collection.