Interface CellRenderer<T>

Type Parameters:
T - the type of the row

public interface CellRenderer<T>
CellRenderer is used to render cells in custom columns.
Since:
9.12.0
  • Method Summary

    Modifier and Type
    Method
    Description
    getComponent​(T object, boolean isSelected, boolean hasFocus)
    Returns a GUI component for the given row.
  • Method Details

    • getComponent

      Component getComponent(T object, boolean isSelected, boolean hasFocus)
      Returns a GUI component for the given row.
      Parameters:
      object - the row object being rendered
      isSelected - if the current row is selected
      hasFocus - if the current row has focus
      Returns:
      the rendering result
      Since:
      9.12.0