Package net.sf.statcvs.reportmodel
Class SimpleTextColumn
java.lang.Object
net.sf.statcvs.reportmodel.Column
net.sf.statcvs.reportmodel.GenericColumn
net.sf.statcvs.reportmodel.SimpleTextColumn
A generic text column without any special behaviour. It can be filled
with String values. The total for the column is empty.
- Version:
- $Id: SimpleTextColumn.java,v 1.3 2008/04/02 11:22:14 benoitx Exp $
- Author:
- Richard Cyganiak invalid input: '<'rcyg@gmx.de>
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTextColumn
(String title) Creates a new SimpleTextColumn with the given head -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderCell
(int rowIndex, TableCellRenderer renderer) Renders a row of the column into a TableCellRenderer by calling one of itsTableCellRenderer.renderCell(java.lang.String)
methodsMethods inherited from class net.sf.statcvs.reportmodel.GenericColumn
addValue, getRows, getValue, renderHead, renderTotal, setTotal
-
Constructor Details
-
SimpleTextColumn
Creates a new SimpleTextColumn with the given head- Parameters:
title
- the head of the column
-
-
Method Details
-
renderCell
Description copied from class:Column
Renders a row of the column into a TableCellRenderer by calling one of itsTableCellRenderer.renderCell(java.lang.String)
methods- Specified by:
renderCell
in classGenericColumn
- Parameters:
rowIndex
- the row number, starting at 0renderer
- the TableCellRenderer to use- See Also:
-