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 Detail

      • 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