|
||||||||
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(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 |
---|
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public int size()
Returns the number of columns in a collection.
Read-only int
.
size
in interface IGenericCollection<IColumn>
public IColumn get_Item(int index)
Returns the column at the specified index.
Read-only Column
.
get_Item
in interface IColumnCollection
public IColumn[] addClone(IColumn templ, boolean withAttachedColumns)
IColumnCollection
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)
IColumnCollection
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)
IColumnCollection
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.Generic.IGenericEnumerator<IColumn> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IColumn>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IColumn>
iterator
in interface java.lang.Iterable<IColumn>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public void copyTo(IColumn[] array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface IGenericCollection<IColumn>
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).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IColumn>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IColumn>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |