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,v 1.2 2004/01/19 21:34:23 hlship Exp $
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

public 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)