wt.clients.csm.widgets
Class CSMResultsTableCellRenderer
java.lang.Object
wt.clients.csm.widgets.CSMResultsTableCellRenderer
- All Implemented Interfaces:
- TableCellRenderer
- public class CSMResultsTableCellRenderer
- extends Object
- implements TableCellRenderer
Renderer for the table
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
JLabel label
combo
JComboBox combo
bgColor
Color bgColor
fgColor
Color fgColor
colorTable
Hashtable colorTable
rtable
CSMResultsTable rtable
iconCache
private static IconCache iconCache
CSMResultsTableCellRenderer
public CSMResultsTableCellRenderer()
CSMResultsTableCellRenderer
public CSMResultsTableCellRenderer(Hashtable colorTable)
CSMResultsTableCellRenderer
public CSMResultsTableCellRenderer(CSMResultsTable rtable)
setColor
public void setColor(Hashtable colorTable)
setRowColor
public void setRowColor(int i,
Color color)
getRowColor
public Color getRowColor(int i)
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
- Specified by:
getTableCellRendererComponent
in interface TableCellRenderer
setTheColors
private void setTheColors(boolean isSelected,
int row,
int column,
JTable table)
getLabelText
private String getLabelText(Object value)