Class ColumnCellRenderer

java.lang.Object
uk.ac.starlink.topcat.ColumnCellRenderer
All Implemented Interfaces:
ListCellRenderer<TableColumn>

public class ColumnCellRenderer extends Object implements ListCellRenderer<TableColumn>
List cell renderer which will render StarTableColumn objects sensibly.
Since:
20 Feb 2004
Author:
Mark Taylor (Starlink)
  • Constructor Details

    • ColumnCellRenderer

      public ColumnCellRenderer(JComboBox<TableColumn> comboBox)
      Sets up a ColumnCellRenderer for a given combo box. The only use of the combo box is that its tooltip text will be set to that of the description of the selected column (if there is one).
      Parameters:
      comboBox - box to watch
    • ColumnCellRenderer

      public ColumnCellRenderer()
      Constructs a default renderer.
  • Method Details