rowcollection-ag凯发旗舰厅



com.spire.doc.collections
class rowcollection

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.collections.collectionex
          extended by com.spire.doc.documents.xml.documentserializablecollection
              extended by com.spire.doc.collections.documentobjectcollection
                  extended by 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.
 
method summary
 int add(tablerow row)
          adds a table row to collection.
 tablerow get(int index)
          gets the tablerow at the specified index.
 int indexof(tablerow row)
          returns index of a specified row in collection.
 void insert(int index, tablerow row)
          inserts a table row into collection.
 void remove(tablerow row)
          removes a specified row.
 
methods inherited from class com.spire.doc.collections.documentobjectcollection
add, clear, contains, getfirstitem, getlastitem, indexof, insert, remove, removeat
 
methods inherited from class com.spire.doc.collections.collectionex
getcount, iterator
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.icollectionbase
getcount
 
methods inherited from interface com.spire.doc.interfaces.ixdlsserializablecollection
addnewitem, getcount, gettagitemnameex
 
constructor detail

rowcollection

public rowcollection(table owner)
initializes a new instance of the rowcollection class.
parameters:
owner - the owner.
method detail

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


网站地图