jdbreport.design.model
Class TemplateNullRow
java.lang.Object
jdbreport.model.NullReportRow
jdbreport.design.model.TemplateNullRow
- All Implemented Interfaces:
- Iterable<Cell>, TableRow
public class TemplateNullRow
- extends NullReportRow
- Version:
- 1.1 03/09/08
- Author:
- Andrey Kholmanskih
Method Summary |
Cell |
createCellItem(int column)
Creates a new Cell for specified column in the current row |
Cell |
removeCell(int index)
Replaces the cell at the specified position by NullCell |
Cell |
removeColumn(int index)
Removes the cell at the specified position in this row Makes the columns'
count smaller |
Methods inherited from class jdbreport.model.NullReportRow |
addColumn, addColumn, addPropertyChangeListener, getCellItem, getColCount, getGroup, getHeaderRenderer, getHeaderValue, getHeight, getNativeHeight, isNull, isPageBreak, isPageHeader, iterator, removePropertyChangeListener, setCellItem, setColCount, setHeaderValue, setHeight, setHeight, setPageBreak |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateNullRow
public TemplateNullRow()
createCellItem
public Cell createCellItem(int column)
- Description copied from interface:
TableRow
- Creates a new Cell for specified column in the current row
- Specified by:
createCellItem
in interface TableRow
- Overrides:
createCellItem
in class NullReportRow
- Returns:
- created Cell
removeCell
public Cell removeCell(int index)
- Description copied from interface:
TableRow
- Replaces the cell at the specified position by NullCell
- Specified by:
removeCell
in interface TableRow
- Overrides:
removeCell
in class NullReportRow
- Parameters:
index
- the index of the cell to removed.
- Returns:
- the Cell previously at the specified position.
removeColumn
public Cell removeColumn(int index)
- Description copied from interface:
TableRow
- Removes the cell at the specified position in this row Makes the columns'
count smaller
- Specified by:
removeColumn
in interface TableRow
- Overrides:
removeColumn
in class NullReportRow
- Parameters:
index
- the index of the cell to removed.
- Returns:
- the Cell previously at the specified position.