|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableCellRenderer
Interface for a class that turns Column
s
into their representation for some output format, for example a HTML
<td> or an XML element.
Method Summary | |
---|---|
void |
renderAuthorCell(Author author)
Render a cell containing an author |
void |
renderCell(java.lang.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(CvsFile file,
boolean withIcon)
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 |
renderPercentageCell(double ratio)
Render a percentage cell |
Method Detail |
---|
void renderCell(java.lang.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 renderDirectoryCell(Directory directory)
directory
- the directoryvoid renderFileCell(CvsFile file, boolean withIcon)
file
- the filewithIcon
- display an icon in front of the filename?
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |