Returns an appropriate renderer for the cell specified by this row and
column. If the TableColumn for this column has a non-null
renderer, returns that. If not, finds the class of the data in
this column (using getColumnClass)
and returns the default renderer for this type of data.
Note: Throughout the table package, the internal implementations always use this method to provide renderers so that this default behavior can be safely overridden by a subclass.
row | the row of the cell to render, where 0 is the first row | |
column | the column of the cell to render, where 0 is the first column |
null
returns the default renderer
for this type of object
javax.swing.table.DefaultTableCellRenderer, javax.swing.table.TableColumn.setCellRenderer, setDefaultRenderer
Diagram: JTable