com.aspose.slides
Class RowExCollection

java.lang.Object
  extended by com.aspose.slides.RowsEx
      extended by com.aspose.slides.RowExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<RowEx>, com.aspose.ms.System.Collections.IEnumerable<RowEx>, java.lang.Iterable<RowEx>

public final class RowExCollection
extends RowsEx
implements com.aspose.ms.System.Collections.ICollection<RowEx>

Represents a collection of rows.


Method Summary
 int addClone(RowEx template, 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.
 RowEx get_Item(int index)
           Gets the element at the specified index.
 int getCount()
           Gets the number of elements actually contained in the collection.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 void insertClone(int index, RowEx template, 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<RowEx> 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<RowEx>
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).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<RowEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<RowEx>

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<RowEx>

get_Item

public RowEx get_Item(int index)
Description copied from class: RowsEx

Gets the element at the specified index.

Overrides:
get_Item in class RowsEx

addClone

public int addClone(RowEx template,
                    boolean withAttachedRows)
Description copied from class: RowsEx

Creates a copy of the specified template row and inserts it at the bottom of a table.

Overrides:
addClone in class RowsEx
Parameters:
template - Row which is used as a template.
withAttachedRows - True to copy also all rows attached to the template row.
Returns:
Index of a new row.

insertClone

public void insertClone(int index,
                        RowEx template,
                        boolean withAttachedRows)
Description copied from class: RowsEx

Creates a copy of the specified template row and insert it at the specified position in a table.

Overrides:
insertClone in class RowsEx
Parameters:
index - Index of a new row.
template - Row which is used as a template.
withAttachedRows - True to copy also all rows attached to the template row.

removeAt

public void removeAt(int firstRowIndex,
                     boolean withAttachedRows)
Description copied from class: RowsEx

Removes a row at the specified position from a table.

Overrides:
removeAt in class RowsEx
Parameters:
firstRowIndex - Index of a row to delete.
withAttachedRows - True to delete also all attached rows.

getCount

public int getCount()
Description copied from class: RowsEx

Gets the number of elements actually contained in the collection.

Overrides:
getCount in class RowsEx

iterator

public com.aspose.ms.System.Collections.IEnumerator<RowEx> iterator()
Description copied from class: RowsEx

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<RowEx>
Specified by:
iterator in interface java.lang.Iterable<RowEx>
Overrides:
iterator in class RowsEx
Returns:
An IEnumerator for the entire collection.