nextapp.echo2.app.table
Interface TableCellRenderer
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DefaultTableCellRenderer, SortableTableHeaderRenderer
public interface TableCellRenderer
- extends java.io.Serializable
Renders an Object contained at a specific coordinate in
a TableModel into a Component instance.
getTableCellRendererComponent
Component getTableCellRendererComponent(Table table,
java.lang.Object value,
int column,
int row)
- Returns a component that will be displayed at the specified coordinate
in the table.
- Parameters:
table - the Table for which the rendering is occurringvalue - the value retrieved from the TableModel for the
specified coordinatecolumn - the column index to renderrow - the row index to render
- Returns:
- a component representation of the value (This component must
be unique. Returning a single instance of a component across
multiple calls to this method will result in undefined
behavior.)