Class TableDocumentPart
java.lang.Object
com.pnfsoftware.jeb.core.output.table.impl.TableDocumentPart
- All Implemented Interfaces:
ITableDocumentPart
A trivial implementation of table document part.
-
Constructor Summary
ConstructorsConstructorDescriptionTableDocumentPart
(int firstRowIndex, List<? extends ITableRow> rows) Create a table part. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the index of the first row in this document part, relative to the entire table document.getRows()
Get the rows contained in this part.
-
Constructor Details
-
TableDocumentPart
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 interfaceITableDocumentPart
- Returns:
- the absolute index of the first row in this part
-
getRows
Description copied from interface:ITableDocumentPart
Get the rows contained in this part.- Specified by:
getRows
in interfaceITableDocumentPart
- Returns:
- a list of rows
-