com.aspose.words
Class RowCollection

com.aspose.words.NodeCollection
    extended by com.aspose.words.RowCollection

public class RowCollection 
extends com.aspose.words.NodeCollection

Provides typed access to a collection of Row nodes.

Property Getters/Setters Summary
intgetCount()→ inherited from Aspose.Words.NodeCollection
           Gets the number of nodes in the collection.
Rowget(int index)
           Retrieves a Row at the given index.
 
Method Summary
voidclear()→ inherited from Aspose.Words.NodeCollection
           Removes all nodes from this collection and from the document.
Aspose.Words.CompositeNodegetContainer()→ inherited from Aspose.Words.NodeCollection
          Reserved for internal use.
Aspose.Words.NodegetNextMatchingNode(aspose.obfuscated.type curNode)→ inherited from Aspose.Words.NodeCollection
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from Aspose.Words.NodeCollection
           Provides a simple "foreach" style iteration over the collection of nodes.
voidremoveAt(int index)→ inherited from Aspose.Words.NodeCollection
           Removes the node at the specified index from the collection and from the document.
Aspose.Words.Tables.Row[]toArray()
           Copies all rows from the collection to a new array of rows.
 

Property Getters/Setters Detail

getCount

→ inherited from Aspose.Words.NodeCollection
public int getCount()
Gets the number of nodes in the collection.

get

public Row get(int index)
Retrieves a Row at the given index.

The index is zero-based.

Negative indexes are allowed and indicate access from the back of the collection. For example -1 means the last item, -2 means the second before last and so on.

If index is greater than or equal to the number of items in the list, this returns a null reference.

If index is negative and its absolute value is greater than the number of items in the list, this returns a null reference.

Parameters:
index - An index into the collection.

Method Detail

clear

→ inherited from Aspose.Words.NodeCollection
public void clear()
Removes all nodes from this collection and from the document.

getContainer

→ inherited from Aspose.Words.NodeCollection
public Aspose.Words.CompositeNode getContainer()
Reserved for internal use.

getNextMatchingNode

→ inherited from Aspose.Words.NodeCollection
public Aspose.Words.Node getNextMatchingNode(aspose.obfuscated.type curNode)
                        throws java.lang.Exception
Reserved for internal use.

iterator

→ inherited from Aspose.Words.NodeCollection
public java.util.Iterator iterator()
Provides a simple "foreach" style iteration over the collection of nodes.
Returns:
Iterator<Node>.

removeAt

→ inherited from Aspose.Words.NodeCollection
public void removeAt(int index)
Removes the node at the specified index from the collection and from the document.
Parameters:
index - The zero-based index of the node. Negative indexes are allowed and indicate access from the back of the list. For example -1 means the last node, -2 means the second before last and so on.

toArray

public Aspose.Words.Tables.Row[] toArray()
Copies all rows from the collection to a new array of rows.
Returns:
An array of rows.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.