Package org.ka2ddo.yaac.gui
Interface TableCellRendererSource
public interface TableCellRendererSource
This interface defines a source for custom TableCellRenderers when a generic JTable is
being fed an arbitrary TableModel. This interface should be implemented by the
TableModel to tell the generic table code to register the appropriate renderers.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptiongetRenderer
(int columnIndex) Get the TableCellRenderer for the specified column.
-
Method Details
-
getRenderer
Get the TableCellRenderer for the specified column.- Parameters:
columnIndex
- zero-based model index of the column- Returns:
- custom TableCellRenderer for this column, or null to not override the defaults
-