com.aspose.slides
Class ColumnCollection

java.lang.Object
  extended by com.aspose.slides.ColumnCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IColumn>, com.aspose.ms.System.Collections.IEnumerable<IColumn>, IColumnCollection, IGenericCollection<IColumn>, java.lang.Iterable<IColumn>

public final class ColumnCollection
extends java.lang.Object
implements IColumnCollection

Represents collection of columns in a table.


Method Summary
 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(IColumn[] 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
 

Method Detail

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.


size

public int size()

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

Specified by:
size in interface IGenericCollection<IColumn>

get_Item

public IColumn get_Item(int index)

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

Specified by:
get_Item in interface IColumnCollection

addClone

public IColumn[] addClone(IColumn templ,
                          boolean withAttachedColumns)
Description copied from interface: IColumnCollection

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 IColumn[] insertClone(int index,
                             IColumn templ,
                             boolean withAttachedColumns)
Description copied from interface: IColumnCollection

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 void removeAt(int firstColumnIndex,
                     boolean withAttachedRows)
Description copied from interface: IColumnCollection

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

copyTo

public void copyTo(IColumn[] array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface IGenericCollection<IColumn>
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). Read-only boolean.

Specified by:
isSynchronized in interface IGenericCollection<IColumn>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<IColumn>


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.