|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.RowCollection
public final class RowCollection
Represents a collection of rows.
Method Summary | |
---|---|
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)
Gets the element at the specified index. |
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.IEnumerator |
iterator()
Returns an enumerator for the entire collection. |
void |
removeAt(int firstRowIndex,
boolean withAttachedRows)
Removes a row at the specified position from a table. |
int |
size()
Gets the number of elements actually contained in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public IRow get_Item(int index)
Gets the element at the specified index.
get_Item
in interface IRowCollection
public 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 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 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 int size()
Gets the number of elements actually contained in the collection.
size
in interface com.aspose.ms.System.Collections.ICollection
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 |