| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectnet.sf.statcvs.renderer.HTMLTableCellRendererMethod Summary | |
String |
|
String | |
String | |
MarkupSyntax | |
String |
|
String |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public String getColumnHead()
Return the results of the last renderCell call
- Returns:
- HTML
public String getEvenRowFormat()
public String getOddRowFormat()
public String getRowHead()
Return the results of the last renderCell call as a row head
- Returns:
- HTML
public String getTableCell()
Return the results of the last renderCell call as an ordinary table cell
- Returns:
- HTML
public void renderAuthorCell(Author author)
Render a cell containing an author to HTML
- Specified by:
- renderAuthorCell in interface TableCellRenderer
- Parameters:
author- the author
public void renderAuthorIdCell(Author author)
Render a cell containing an author Id to HTML
- Specified by:
- renderAuthorIdCell in interface TableCellRenderer
- Parameters:
author- the author
public void renderCell(String content)
Render a generic table cell to HTML
- Specified by:
- renderCell in interface TableCellRenderer
- Parameters:
content- the cell's content
public void renderDirectoryCell(Directory directory)
Render a cell containing a directory to HTML
- Specified by:
- renderDirectoryCell in interface TableCellRenderer
- Parameters:
directory- the directory
public void renderEmptyCell()
Render an empty cell to HTML
- Specified by:
- renderEmptyCell in interface TableCellRenderer
public void renderFileCell(VersionedFile file, boolean withIcon, WebRepositoryIntegration webRepository)
Render a cell containing a file to HTML
- Specified by:
- renderFileCell in interface TableCellRenderer
- Parameters:
file- the filewithIcon- display an icon in front of the filename?webRepository- for creating links; might be null
public void renderIntegerCell(int value)
Render an integer cell to HTML
- Specified by:
- renderIntegerCell in interface TableCellRenderer
- Parameters:
value- the cell's content
public void renderIntegerCell(int value,
int total)Render an integer cell to HTML, showing both the integer value and a percentage of a total
- Specified by:
- renderIntegerCell in interface TableCellRenderer
- Parameters:
value- the cell's contenttotal- the total, worth 100%
public void renderLinkCell(String url,
String label)Render a cell containing a repository tag.
- Specified by:
- renderLinkCell in interface TableCellRenderer
public void renderPercentageCell(double ratio)
Render a percentage cell to HTML
- Specified by:
- renderPercentageCell in interface TableCellRenderer
- Parameters:
ratio- the cell's content