public class BoldModelRenderer<D extends Serializable> extends DefaultTableCellRenderer
Table and not with intances of Table.
© Copyright 2009 Sans Pareil Technologies, Inc.
| Constructor and Description |
|---|
BoldModelRenderer(Collection<D> collection)
Create a new renderer that will display the specified collection of
model objects in bold.
|
BoldModelRenderer(D model)
Create a new renderer that will display the specified model object in
bold.
|
| 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 BoldModelRenderer(Collection<D> collection)
collection - The collection of model objects.public BoldModelRenderer(D model)
model - The model object to display in bold.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.