public abstract class TableValues extends AbstractTableRowComponent
TableRows
.
The component iterates over the columns in the table and automatically renders the column values
for the current table row. The columns are wrapped in 'td' tags by default.
The column values are rendered using the renderer returned by the getValueRenderer() method in
ITableColumn
.
Please see the Component Reference for details on how to use this component. [ Component Reference ]
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TABLE_VALUE_CSS_CLASS_SUFFIX |
Constructor and Description |
---|
TableValues() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle) |
abstract java.lang.String |
getCellClass() |
ITableColumn |
getTableColumn()
Returns the currently rendered table column.
|
java.util.Iterator |
getTableColumnIterator()
Get the list of all table columns to be displayed.
|
org.apache.tapestry.IRender |
getTableValueRenderer()
Returns the renderer to be used to generate the appearance of the current column
|
java.lang.String |
getValueClass()
Returns the CSS class of the generated table cell.
|
abstract void |
setColumnParameter(ITableColumn column) |
void |
setTableColumn(ITableColumn tableColumn)
Sets the currently rendered table column.
|
getTableRowSource
getTableModelSource
addOuter, finishLoad, renderComponent
addAsset, addBody, addComponent, checkActiveLock, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
public static final java.lang.String TABLE_VALUE_CSS_CLASS_SUFFIX
public TableValues()
public java.util.Iterator getTableColumnIterator()
public ITableColumn getTableColumn()
public void setTableColumn(ITableColumn tableColumn)
tableColumn
- The current table columnpublic org.apache.tapestry.IRender getTableValueRenderer()
public java.lang.String getValueClass()
protected void cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle)
cleanupAfterRender
in class org.apache.tapestry.AbstractComponent
public abstract void setColumnParameter(ITableColumn column)
public abstract java.lang.String getCellClass()