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 Type
    Method
    Description
    getRenderer(int columnIndex)
    Get the TableCellRenderer for the specified column.
  • Method Details

    • getRenderer

      TableCellRenderer getRenderer(int columnIndex)
      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