org.apache.tapestry.contrib.table.model.simple
Class SimpleTableValueRendererSource
java.lang.Object
org.apache.tapestry.contrib.table.model.simple.SimpleTableValueRendererSource
- All Implemented Interfaces:
- Serializable, ITableRendererSource
public class SimpleTableValueRendererSource
- extends Object
- implements ITableRendererSource
This is a simple implementation of
ITableRendererSource
that returns a standard renderer of a column value.
This implementation requires that the column passed is of type SimpleTableColumn
- Since:
- 2.3
- Version:
- $Id: SimpleTableValueRendererSource.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- mindbridge
- See Also:
AbstractTableColumn
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTableValueRendererSource
public SimpleTableValueRendererSource()
getRenderer
public IRender getRenderer(IRequestCycle objCycle,
ITableModelSource objSource,
ITableColumn objColumn,
Object objRow)
- Description copied from interface:
ITableRendererSource
- 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.
- Specified by:
getRenderer
in interface ITableRendererSource
- See Also:
ITableRendererSource.getRenderer(IRequestCycle, ITableModelSource, ITableColumn, Object)