rowlist-ag凯发旗舰厅



com.spire.presentation.collections
class rowlist

java.lang.object
  extended by com.spire.presentation.collections.rowlist
all implemented interfaces:
com.spire.ms.system.collections.ienumerable, java.lang.iterable
direct known subclasses:
tablerowcollection

public class rowlist
extends java.lang.object
implements com.spire.ms.system.collections.ienumerable

represents a collection of rows.


constructor summary
rowlist()
           
 
method summary
 int append(tablerow row)
          add new row.
 tablerow get(int index)
          gets the element at the specified index.
 int getcount()
          gets the number of elements actually contained in the collection.
 void insert(int index, tablerow row)
          insert a row.
 com.spire.ms.system.collections.ienumerator iterator()
          gets a iterator of the list.
 void removeat(int firstrowindex, boolean withattachedrows)
          removes a row at the specified position from a table.
 
constructor detail

rowlist

public rowlist()
method detail

get

public tablerow get(int index)
gets the element at the specified index.
parameters:
index -
returns:

append

public int append(tablerow row)
           throws documenteditexception
add new row.
parameters:
row -
returns:
throws:
documenteditexception

insert

public void insert(int index,
                   tablerow row)
            throws documenteditexception
insert a row.
parameters:
index -
row -
throws:
documenteditexception

removeat

public void removeat(int firstrowindex,
                     boolean withattachedrows)
              throws documenteditexception
removes a row at the specified position from a table.
parameters:
firstrowindex - index of a row to delete
withattachedrows - true to delete also all attached rows.
throws:
documenteditexception

getcount

public int getcount()
gets the number of elements actually contained in the collection.
returns:

iterator

public com.spire.ms.system.collections.ienumerator iterator()
gets a iterator of the list.
returns:


网站地图