Interface GTrableCellRenderer<C>

Type Parameters:
C - the type of the column value for this cell
All Known Implementing Classes:
DefaultGTrableCellRenderer

public interface GTrableCellRenderer<C>
Interface for GTrable cell renderers
  • Method Summary

    Modifier and Type
    Method
    Description
    getCellRenderer(GTrable<?> trable, C value, boolean isSelected, boolean hasFocus, int row, int column)
    Gets and prepares the renderer component for the given column value
  • Method Details

    • getCellRenderer

      Component getCellRenderer(GTrable<?> trable, C value, boolean isSelected, boolean hasFocus, int row, int column)
      Gets and prepares the renderer component for the given column value
      Parameters:
      trable - the GTrable
      value - the column value
      isSelected - true if the row is selected
      hasFocus - true if the cell has focus
      row - the row of the cell being painted
      column - the column of the cell being painted
      Returns:
      the component to use to paint the cell value