|
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.BoldModelRenderer<D>
public class BoldModelRenderer<D extends Serializable>
A cell renderer used to render the row corresponding to model objects in
bold font. Note that this renderer works only when using instances of
Table and not with intances of Table.
© Copyright 2009 Sans Pareil Technologies, Inc.
| Constructor Summary | |
|---|---|
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. |
|
| 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 BoldModelRenderer(Collection<D> collection)
collection - The collection of model objects.public BoldModelRenderer(D model)
model - The model object to display in bold.| 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 | |||||||||