net.sf.doolin.gui.field.table.renderer
Class GUITableCellRenderer<E>
java.lang.Object
net.sf.doolin.gui.field.table.renderer.GUITableCellRenderer<E>
- Type Parameters:
E - Type of item in the table
- All Implemented Interfaces:
- TableCellRenderer
public class GUITableCellRenderer<E>
- extends Object
- implements TableCellRenderer
This table renderer is used as an ancestor for all renderers that want to
interact with a style defined at table level.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUITableCellRenderer
public GUITableCellRenderer(TableCellRenderer renderer)
- Instantiates a new gUI table cell renderer.
- Parameters:
renderer - the renderer
applyStyle
protected void applyStyle(Component component,
JTable table,
int row,
int column)
- Applies style.
- Parameters:
component - the componenttable - the tablerow - the rowcolumn - the column
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
-
- Specified by:
getTableCellRendererComponent in interface TableCellRenderer
Copyright © 2011. All Rights Reserved.