net.sf.statcvs.reportmodel

Class FileColumn


public class FileColumn
extends GenericColumn

A table column containing files
Version:
$Id: FileColumn.java,v 1.5 2008/04/02 11:22:14 benoitx Exp $
Author:
Richard Cyganiak

Constructor Summary

FileColumn()
Creates a new directory column

Method Summary

void
renderCell(int rowIndex, TableCellRenderer renderer)
void
setWebRepository(WebRepositoryIntegration webRepository)
Setting a WebRepository turns filenames into links to that file.
void
setWithIcon(boolean withIcon)
Specifies if each cell should be rendered with an icon representing the file

Methods inherited from class net.sf.statcvs.reportmodel.GenericColumn

addValue, getRows, getValue, renderCell, renderHead, renderTotal, setTotal

Methods inherited from class net.sf.statcvs.reportmodel.Column

getRows, renderCell, renderHead, renderTotal

Constructor Details

FileColumn

public FileColumn()
Creates a new directory column

Method Details

renderCell

public void renderCell(int rowIndex,
                       TableCellRenderer renderer)
Overrides:
renderCell in interface GenericColumn

setWebRepository

public void setWebRepository(WebRepositoryIntegration webRepository)
Setting a WebRepository turns filenames into links to that file.

setWithIcon

public void setWithIcon(boolean withIcon)
Specifies if each cell should be rendered with an icon representing the file
Parameters:
withIcon - render with icon?