Package net.sf.statcvs.reportmodel
Class FileColumn
java.lang.Object
net.sf.statcvs.reportmodel.Column
net.sf.statcvs.reportmodel.GenericColumn
net.sf.statcvs.reportmodel.FileColumn
A table column containing files
- Version:
- $Id: FileColumn.java,v 1.5 2008/04/02 11:22:14 benoitx Exp $
- Author:
- Richard Cyganiak invalid input: '<'rcyg@gmx.de>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderCell(int rowIndex, TableCellRenderer renderer) Renders a row of the column into a TableCellRenderer by calling one of itsTableCellRenderer.renderCell(java.lang.String)methodsvoidsetWebRepository(WebRepositoryIntegration webRepository) Setting a WebRepository turns filenames into links to that file.voidsetWithIcon(boolean withIcon) Specifies if each cell should be rendered with an icon representing the fileMethods inherited from class net.sf.statcvs.reportmodel.GenericColumn
addValue, getRows, getValue, renderHead, renderTotal, setTotal
-
Constructor Details
-
FileColumn
public FileColumn()Creates a new directory column
-
-
Method Details
-
renderCell
Description copied from class:ColumnRenders a row of the column into a TableCellRenderer by calling one of itsTableCellRenderer.renderCell(java.lang.String)methods- Specified by:
renderCellin classGenericColumn- Parameters:
rowIndex- the row number, starting at 0renderer- the TableCellRenderer to use- See Also:
-
setWithIcon
public void setWithIcon(boolean withIcon) Specifies if each cell should be rendered with an icon representing the file- Parameters:
withIcon- render with icon?
-
setWebRepository
Setting a WebRepository turns filenames into links to that file.
-