public abstract class AbstractDelegatingRowContext extends InheritableStyleConfiguration<RowContext> implements RowContext
| Modifier and Type | Field and Description |
|---|---|
protected SheetContext |
sheet |
| Constructor and Description |
|---|
AbstractDelegatingRowContext(SheetContext sheet) |
| Modifier and Type | Method and Description |
|---|---|
RowContext |
currentRow()
Retrieve current row, i.e.
|
RowContext |
nextConditionalRow(boolean condition)
Create row in current position within the sheet and process all the configurations on it only if condition evaluates to true.
|
RowContext |
nextRow()
Create subsequent row and place current row pointer on it.
|
SheetContext |
skipRow()
Move current row pointer to the next position within the sheet.
|
SheetContext |
skipRows(int offset)
Move current row pointer by
offset rows within the sheet. |
SheetContext |
stepOneRowBack() |
getDateStyle, getHeaderStyle, getNumberStyle, getPercentageStyle, getStyleConfiguration, getTextStyle, getTotalStyle, setDateStyle, setHeaderStyle, setNumberStyle, setPercentageStyle, setStyleConfiguration, setTextStyle, setTotalStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeRow, mergeCells, setColumnWidth, setRowHeightdate, date, date, date, multilineText, multilineText, number, number, number, number, text, text, text, textheader, percentage, percentage, totalcellAt, skipCell, skipCellsconditionalCellgetDateStyle, getHeaderStyle, getNumberStyle, getPercentageStyle, getTextStyle, getTotalStylegetStyleConfiguration, setDateStyle, setHeaderStyle, setNumberStyle, setPercentageStyle, setStyleConfiguration, setTextStyle, setTotalStylesetTotalsDataRange, total, total, totals, totalsprotected final SheetContext sheet
public AbstractDelegatingRowContext(SheetContext sheet)
public RowContext nextRow()
RowNavigationnextRow in interface RowNavigation<SheetContext,RowContext>public RowContext currentRow()
RowNavigationRowNavigation.nextRow() and RowCondition.nextConditionalRow(boolean)) within current sheet.
Is not affected by RowNavigation.skipRow() or RowNavigation.skipRows(int).currentRow in interface RowNavigation<SheetContext,RowContext>RowContextpublic RowContext nextConditionalRow(boolean condition)
RowConditionnextConditionalRow in interface RowCondition<RowContext>condition - execution conditionpublic SheetContext skipRow()
RowNavigationRowNavigation.nextRow() or RowCondition.nextConditionalRow(boolean).skipRow in interface RowNavigation<SheetContext,RowContext>SheetContextpublic SheetContext skipRows(int offset)
RowNavigationoffset rows within the sheet.
Doesn't involve actual row creation but just the position in which the next row will be created with RowNavigation.nextRow() or RowCondition.nextConditionalRow(boolean).skipRows in interface RowNavigation<SheetContext,RowContext>offset - number of rows to move pointer bySheetContextpublic SheetContext stepOneRowBack()
stepOneRowBack in interface RowNavigation<SheetContext,RowContext>Copyright © 2014. All rights reserved.