NextApp Echo2
v2.1.0

nextapp.echo2.app.table
Interface TableCellRenderer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultTableCellRenderer

public interface TableCellRenderer
extends java.io.Serializable

Renders an Object contained at a specific coordinate in a TableModel into a Component instance.


Method Summary
 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.
 

Method Detail

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 occurring
value - the value retrieved from the TableModel for the specified coordinate
column - the column index to render
row - 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.)

NextApp Echo2
v2.1.0