|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.contrib.table.model.common.BlockTableRendererSource
public class BlockTableRendererSource
Constructor Summary | |
---|---|
BlockTableRendererSource(Block objBlock)
|
|
BlockTableRendererSource(Block objBlock,
ITableRendererListener objListener)
|
|
BlockTableRendererSource(ComponentAddress objBlockAddress)
|
|
BlockTableRendererSource(ComponentAddress objBlockAddress,
ComponentAddress objListenerAddress)
|
Method Summary | |
---|---|
ComponentAddress |
getBlockAddress()
Returns the blockAddress. |
ComponentAddress |
getListenerAddress()
Returns the listenerAddress. |
IRender |
getRenderer(IRequestCycle objCycle,
ITableModelSource objSource,
ITableColumn objColumn,
Object objRow)
Returns a renderer to present the data of the row in the given column. |
void |
setBlockAddress(ComponentAddress blockAddress)
Sets the blockAddress. |
void |
setListenerAddress(ComponentAddress listenerAddress)
Sets the listenerAddress. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockTableRendererSource(Block objBlock)
public BlockTableRendererSource(Block objBlock, ITableRendererListener objListener)
public BlockTableRendererSource(ComponentAddress objBlockAddress)
public BlockTableRendererSource(ComponentAddress objBlockAddress, ComponentAddress objListenerAddress)
Method Detail |
---|
public IRender getRenderer(IRequestCycle objCycle, ITableModelSource objSource, ITableColumn objColumn, Object objRow)
ITableRendererSource
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.
getRenderer
in interface ITableRendererSource
ITableRendererSource.getRenderer(IRequestCycle, ITableModelSource, ITableColumn, Object)
public ComponentAddress getBlockAddress()
public void setBlockAddress(ComponentAddress blockAddress)
blockAddress
- The blockAddress to setpublic ComponentAddress getListenerAddress()
public void setListenerAddress(ComponentAddress listenerAddress)
listenerAddress
- The listenerAddress to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |