Uses of Interface javax.swing.table.TableCellRenderer

Uses in package javax.swing

Methods with parameter type javax.swing.table.TableCellRenderer

Component
JTable.prepareRenderer(TableCellRenderer renderer, int row, int column)
Prepare the renderer for rendering the given cell.
void
JTable.setDefaultRenderer(Class columnClass, TableCellRenderer rend)
Set default renderer for rendering the given data type.

Methods with return type javax.swing.table.TableCellRenderer

TableCellRenderer
JTable.getCellRenderer(int row, int column)
Get the cell renderer for rendering the given cell.
TableCellRenderer
JTable.getDefaultRenderer(Class columnClass)
Get the default renderer for rendering the given data type.

Uses in package javax.swing.table

Classes implementing javax.swing.table.TableCellRenderer

class
Class to display every cells.
class

Constructors with parameter type javax.swing.table.TableCellRenderer

TableColumn.TableColumn(int modelIndex, int width, TableCellRenderer cellRenderer, TableCellEditor cellEditor)
Creates a new TableColumn that maps to the specified column in the related table model, and has the specified width, cellRenderer and cellEditor.

Fields of type javax.swing.table.TableCellRenderer

TableCellRenderer
The renderer for the regular cells in this column.
TableCellRenderer
The renderer for the column header.

Methods with parameter type javax.swing.table.TableCellRenderer

void
Sets the renderer for cells in this column and sends a PropertyChangeEvent (with the property name CELL_RENDERER_PROPERTY) to all registered listeners.
void
Sets the default table cell renderer.
void
Sets the renderer for the column header and sends a PropertyChangeEvent (with the property name HEADER_RENDERER_PROPERTY) to all registered listeners.

Methods with return type javax.swing.table.TableCellRenderer

TableCellRenderer
Creates and returns a default renderer for the column header (in this case, a new instance of DefaultTableCellRenderer).
TableCellRenderer
Creates a default renderer.
TableCellRenderer
Returns the renderer for the table cells in this column.
TableCellRenderer
Returns the default table cell renderer.
TableCellRenderer
Returns the renderer for the column header.