org.apache.tapestry.contrib.table.model.common
Class BlockTableRendererSource
java.lang.Object
|
+--org.apache.tapestry.contrib.table.model.common.BlockTableRendererSource
- All Implemented Interfaces:
- ITableRendererSource, Serializable
- public class BlockTableRendererSource
- extends Object
- implements ITableRendererSource
- Since:
- 2.3
- Version:
- $Id: BlockTableRendererSource.java,v 1.1 2003/03/05 23:03:11 hlship Exp $
- Author:
- mindbridge
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockTableRendererSource
public BlockTableRendererSource(Block objBlock)
BlockTableRendererSource
public BlockTableRendererSource(Block objBlock,
ITableRendererListener objListener)
BlockTableRendererSource
public BlockTableRendererSource(ComponentAddress objBlockAddress)
BlockTableRendererSource
public BlockTableRendererSource(ComponentAddress objBlockAddress,
ComponentAddress objListenerAddress)
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)
getBlockAddress
public ComponentAddress getBlockAddress()
- Returns the blockAddress.
- Returns:
- ComponentAddress
setBlockAddress
public void setBlockAddress(ComponentAddress blockAddress)
- Sets the blockAddress.
- Parameters:
blockAddress
- The blockAddress to set
getListenerAddress
public ComponentAddress getListenerAddress()
- Returns the listenerAddress.
- Returns:
- ComponentAddress
setListenerAddress
public void setListenerAddress(ComponentAddress listenerAddress)
- Sets the listenerAddress.
- Parameters:
listenerAddress
- The listenerAddress to set