|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.table.DefaultTableCellRenderer
com.sptci.echo.table.BoldRowRenderer
public class BoldRowRenderer
A cell renderer that can be used to display a specified row using bold font. Note that this renderer does not manage the row numbers, hence re-ordering the rows in a table will result in the wrong rows being rendered in bold.
© Copyright 2009 Sans Pareil Technologies, Inc.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoldRowRenderer(Collection<Integer> rows)
rows - The set of rows to display in bold.public BoldRowRenderer(int row)
row - The row index.| Method Detail |
|---|
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.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||