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

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

public interface ITableRendererSource
extends java.io.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
Author:
mindbridge
See Also:
AbstractTableColumn

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

Method Detail

getRenderer

public org.apache.tapestry.IRender getRenderer(org.apache.tapestry.IRequestCycle objCycle,
                                               ITableModelSource objSource,
                                               ITableColumn objColumn,
                                               java.lang.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)