Package docking.widgets.trable
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 TypeMethodDescriptiongetCellRenderer(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 GTrablevalue- the column valueisSelected- true if the row is selectedhasFocus- true if the cell has focusrow- the row of the cell being paintedcolumn- the column of the cell being painted- Returns:
- the component to use to paint the cell value
-