rowcollection-ag凯发旗舰厅
com.spire.doc.collections
class rowcollection
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.collections.collectionex
com.spire.doc.documents.xml.documentserializablecollection
com.spire.doc.collections.documentobjectcollection
com.spire.doc.collections.rowcollection
- all implemented interfaces:
- icollectionbase, idocumentobjectcollection, ixdlsserializablecollection, java.lang.iterable
public class rowcollection
- extends documentobjectcollection
represents a collection of tablerow
objects.
constructor summary |
rowcollection(table owner)
initializes a new instance of the rowcollection class. |
rowcollection
public rowcollection(table owner)
- initializes a new instance of the rowcollection class.
- parameters:
owner
- the owner.
get
public tablerow get(int index)
- gets the
tablerow
at the specified index.
- specified by:
get
in interface idocumentobjectcollection
- overrides:
get
in class documentobjectcollection
- parameters:
index
- index
- returns:
- tablerow
add
public int add(tablerow row)
- adds a table row to collection.
- parameters:
row
- the row.
- returns:
- int
insert
public void insert(int index,
tablerow row)
- inserts a table row into collection.
- parameters:
index
- the index.row
- the row.
indexof
public int indexof(tablerow row)
- returns index of a specified row in collection.
- parameters:
row
- the row.
- returns:
- int
remove
public void remove(tablerow row)
- removes a specified row.
- parameters:
row
- the row