net.sf.statcvs.renderer
public interface TableCellRenderer
Column
s
into their representation for some output format, for example a HTML
<td> or an XML element.Modifier and Type | Method and Description |
---|---|
void |
renderAuthorCell(Author author)
Render a cell containing an author
|
void |
renderAuthorIdCell(Author author)
Render a cell containing an author Id
|
void |
renderCell(String content)
Render a generic table cell
|
void |
renderDirectoryCell(Directory directory)
Render a cell containing a directory
|
void |
renderEmptyCell()
Render an empty cell
|
void |
renderFileCell(VersionedFile file,
boolean withIcon,
WebRepositoryIntegration webRepository)
Render a cell containing a file
|
void |
renderIntegerCell(int value)
Render an integer cell
|
void |
renderIntegerCell(int value,
int total)
Render an integer cell, showing both the integer value and
a percentage of a total
|
void |
renderLinkCell(String url,
String label)
Render a cell containing a link.
|
void |
renderPercentageCell(double ratio)
Render a percentage cell
|
void renderCell(String content)
content
- the cell's contentvoid renderEmptyCell()
void renderIntegerCell(int value)
value
- the cell's contentvoid renderIntegerCell(int value, int total)
value
- the cell's contenttotal
- the total, worth 100%void renderPercentageCell(double ratio)
ratio
- the cell's contentvoid renderAuthorCell(Author author)
author
- the authorvoid renderAuthorIdCell(Author author)
author
- the authorvoid renderDirectoryCell(Directory directory)
directory
- the directoryvoid renderFileCell(VersionedFile file, boolean withIcon, WebRepositoryIntegration webRepository)
file
- the filewithIcon
- display an icon in front of the filename?webRepository
- for creating links; might be null