org.apache.tapestry.contrib.table.model
Interface ITableRendererSource

All Superinterfaces:
Serializable
All Known Implementing Classes:
BlockTableRendererSource, ComponentTableRendererSource, SimpleTableColumnFormRendererSource, SimpleTableColumnRendererSource, SimpleTableValueRendererSource, TreeTableValueRenderSource

public interface ITableRendererSource
extends Serializable

This interface provides a renderer to present the data in a table column. It is usually used by the ITableColumn implementations via aggregation.

Since:
2.3
Version:
$Id: ITableRendererSource.java 243791 2004-02-19 17:38:13Z hlship $
Author:
mindbridge
See Also:
AbstractTableColumn

Method Summary
 IRender getRenderer(IRequestCycle objCycle, ITableModelSource objSource, ITableColumn objColumn, Object objRow)
          Returns a renderer to present the data of the row in the given column.
 

Method Detail

getRenderer

IRender getRenderer(IRequestCycle objCycle,
                    ITableModelSource objSource,
                    ITableColumn objColumn,
                    Object objRow)
Returns a renderer to present the data of the row in the given column.

This method can also be used to return a renderer to present the heading of the column. In such a case the row passed would be null.

See Also:
ITableColumn.getValueRenderer(IRequestCycle, ITableModelSource, Object)