[]
        
立即试用
(Showing Draft Content)

ITableRows

Interface ITableRows

All Superinterfaces:
Iterable<ITableRow>

public interface ITableRows extends Iterable<ITableRow>
表示指定ITable对象中所有ITableRow对象的集合。每个ITableRow对象代表表中的一行。
  • Method Summary

    Modifier and Type
    Method
    Description
    add()
    向表格对象添加新行。返回ITableRow对象。
    add(int position)
    向表格对象添加新行。返回 ITableRow 对象。
    void
    add(int position, int count)
    向表格对象添加新行。
    void
    delete(int position, int count)
    删除表格行的单元格,并将删除行以下的任何剩余单元格上移。
    get(int index)
    获取指定索引处的 ITableRow
    int
    返回集合中的对象数量。

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • get

      ITableRow get(int index)
      获取指定索引处的 ITableRow
      Parameters:
      index - 索引。
    • getCount

      int getCount()
      返回集合中的对象数量。
    • add

      ITableRow add()
      向表格对象添加新行。返回ITableRow对象。
    • add

      ITableRow add(int position)
      向表格对象添加新行。返回 ITableRow 对象。
      Parameters:
      position - 基于零的整数。指定新行的相对位置。
    • add

      void add(int position, int count)
      向表格对象添加新行。
      Parameters:
      position - 基于零的整数。指定新行的相对位置。
      count - 指定新行的数量。
    • delete

      void delete(int position, int count)
      删除表格行的单元格,并将删除行以下的任何剩余单元格上移。
      Parameters:
      position - 基于零的整数。指定被删除行的相对位置。
      count - 指定被删除行的数量。