Class TableDocumentPart

java.lang.Object
com.pnfsoftware.jeb.core.output.table.impl.TableDocumentPart
All Implemented Interfaces:
ITableDocumentPart

public class TableDocumentPart extends Object implements ITableDocumentPart
A trivial implementation of table document part.
  • Constructor Details

    • TableDocumentPart

      public TableDocumentPart(int firstRowIndex, List<? extends ITableRow> rows)
      Create a table part.
      Parameters:
      firstRowIndex -
      rows -
  • Method Details

    • getFirstRowIndex

      public int getFirstRowIndex()
      Description copied from interface: ITableDocumentPart
      Get the index of the first row in this document part, relative to the entire table document.
      Specified by:
      getFirstRowIndex in interface ITableDocumentPart
      Returns:
      the absolute index of the first row in this part
    • getRows

      public List<? extends ITableRow> getRows()
      Description copied from interface: ITableDocumentPart
      Get the rows contained in this part.
      Specified by:
      getRows in interface ITableDocumentPart
      Returns:
      a list of rows