|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ColumnCollection
public final class ColumnCollection
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(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. |
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.IEnumerator |
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()
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 |
---|
public IColumn get_Item(int index)
Returns the column at the specified index.
Read-only Column
.
get_Item
in interface IColumnCollection
public int size()
Returns the number of columns in a collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.ICollection
public IColumn[] addClone(IColumn templ, boolean withAttachedColumns)
Creates a copy of the specified template row and inserts it at the bottom of a table.
addClone
in interface IColumnCollection
templ
- Column which is used as a template.withAttachedColumns
- True to copy also all columns attached to the template row.
public 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.
insertClone
in interface IColumnCollection
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.
public void removeAt(int firstColumnIndex, boolean withAttachedRows)
Removes a column at the specified position from a table.
removeAt
in interface IColumnCollection
firstColumnIndex
- Index of a column to delete.withAttachedRows
- True to delete also all attached columns.public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable
iterator
in interface java.lang.Iterable
IEnumerator
for the entire collection.public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |