public class BoldRowRenderer extends DefaultTableCellRenderer
© Copyright 2009 Sans Pareil Technologies, Inc.
| Constructor and Description |
|---|
BoldRowRenderer(Collection<Integer> rows)
Create a new instance using the specified set of rows.
|
BoldRowRenderer(int row)
Create a new instance that will display the specified row using
bold font.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBoldStyleName()
Return the style name to use to render the table cell component in bold.
|
Component |
getTableCellRendererComponent(Table table,
Object value,
int column,
int row) |
void |
setBoldStyleName(String boldStyleName)
Set the style name to use to render the component used to render the
cells in bold.
|
public BoldRowRenderer(Collection<Integer> rows)
rows - The set of rows to display in bold.public BoldRowRenderer(int row)
row - The row index.public Component getTableCellRendererComponent(Table table, Object value, int column, int row)
getTableCellRendererComponent in interface TableCellRenderergetTableCellRendererComponent in class DefaultTableCellRendererpublic String getBoldStyleName()
public void setBoldStyleName(String boldStyleName)
boldStyleName - The style name.