be.lassi.ui.log
Class LogColorRenderer
java.lang.Object
be.lassi.ui.log.LogColorRenderer
- All Implemented Interfaces:
- javax.swing.table.TableCellRenderer
public class LogColorRenderer
- extends java.lang.Object
- implements javax.swing.table.TableCellRenderer
Renders a square with the log color in a table cell.
Method Summary |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogColorRenderer
public LogColorRenderer()
- Constructs a new instance.
- Parameters:
options
- the log options
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
-
- Specified by:
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer