|
||||||||||
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 |
renderAuthorIdCell(Author author)
Render a cell containing an author Id |
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(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(java.lang.String url,
java.lang.String label)
Render a cell containing a link. |
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 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 nullvoid renderLinkCell(java.lang.String url, java.lang.String label)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |