|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for a class that turns Columns
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 |
public void renderCell(java.lang.String content)
content - the cell's contentpublic void renderEmptyCell()
public void renderIntegerCell(int value)
value - the cell's content
public void renderIntegerCell(int value,
int total)
value - the cell's contenttotal - the total, worth 100%public void renderPercentageCell(double ratio)
ratio - the cell's contentpublic void renderAuthorCell(Author author)
author - the authorpublic void renderAuthorIdCell(Author author)
author - the authorpublic void renderDirectoryCell(Directory directory)
directory - the directory
public void 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
public void 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 | ||||||||||