public final class RowCollection extends java.lang.Object implements IRowCollection
Represents table row collection.
Modifier and Type | Method and Description |
---|---|
IRow[] |
addClone(IRow templ,
boolean withAttachedRows)
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.
|
IRow |
get_Item(int index)
Returns the row at the specified index.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
IRow[] |
insertClone(int index,
IRow templ,
boolean withAttachedRows)
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.Generic.IGenericEnumerator<IRow> |
iterator()
Returns an enumerator that iterates through the collection.
|
void |
removeAt(int firstRowIndex,
boolean withAttachedRows)
Removes a row at the specified position from a table.
|
int |
size()
Gets the number of rows actually contained in the collection.
|
public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
public final int size()
Gets the number of rows actually contained in the collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.ICollection<IRow>
public final IRow get_Item(int index)
Returns the row at the specified index.
Read-only Row
.
get_Item
in interface IRowCollection
public final IRow[] addClone(IRow templ, boolean withAttachedRows)
Creates a copy of the specified template row and inserts it at the bottom of a table.
addClone
in interface IRowCollection
templ
- Row which is used as a template.withAttachedRows
- True to copy also all rows attached to the template row.public final IRow[] insertClone(int index, IRow templ, boolean withAttachedRows)
Creates a copy of the specified template row and insert it at the specified position in a table.
insertClone
in interface IRowCollection
index
- Index of a new row.templ
- Row which is used as a template.withAttachedRows
- True to copy also all rows attached to the template row.public final void removeAt(int firstRowIndex, boolean withAttachedRows)
Removes a row at the specified position from a table.
removeAt
in interface IRowCollection
firstRowIndex
- Index of a row to delete.withAttachedRows
- True to delete also all attached rows.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IRow> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IRow>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IRow>
iterator
in interface java.lang.Iterable<IRow>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final 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<IRow>
array
- Target array.index
- Starting index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<IRow>
public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<IRow>