|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tapestry.spec.BaseLocatable | +--org.apache.tapestry.AbstractComponent | +--org.apache.tapestry.BaseComponent | +--org.apache.tapestry.contrib.table.components.AbstractTableViewComponent | +--org.apache.tapestry.contrib.table.components.AbstractTableRowComponent | +--org.apache.tapestry.contrib.table.components.TableValues
A low level Table component that generates the columns in the current row in the table.
This component must be wrapped by 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
.
Parameter | Type | Direction | Required | Default | Description |
---|---|---|---|---|---|
element | String | in | no | td | The tag to use to wrap the column values in. |
column | ITableColumn |
out | no | The object representing the current column. |
Constructor Summary | |
TableValues()
|
Method Summary | |
IBinding |
getColumnBinding()
Returns the columnBinding. |
String |
getElement()
Returns the element. |
IBinding |
getElementBinding()
Returns the elementBinding. |
ITableColumn |
getTableColumn()
Returns the tableColumn. |
Iterator |
getTableColumnIterator()
|
IRender |
getTableValueRenderer()
|
void |
setColumnBinding(IBinding columnBinding)
Sets the columnBinding. |
void |
setElementBinding(IBinding elementBinding)
Sets the elementBinding. |
void |
setTableColumn(ITableColumn tableColumn)
Sets the tableColumn. |
Methods inherited from class org.apache.tapestry.contrib.table.components.AbstractTableRowComponent |
getTableRowSource |
Methods inherited from class org.apache.tapestry.contrib.table.components.AbstractTableViewComponent |
getTableModelSource |
Methods inherited from class org.apache.tapestry.BaseComponent |
addOuter, finishLoad, renderComponent |
Methods inherited from class org.apache.tapestry.spec.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.ILocationHolder |
setLocation |
Methods inherited from interface org.apache.tapestry.ILocatable |
getLocation |
Constructor Detail |
public TableValues()
Method Detail |
public Iterator getTableColumnIterator()
public ITableColumn getTableColumn()
public void setTableColumn(ITableColumn tableColumn)
tableColumn
- The tableColumn to setpublic IRender getTableValueRenderer()
public IBinding getElementBinding()
public void setElementBinding(IBinding elementBinding)
elementBinding
- The elementBinding to setpublic IBinding getColumnBinding()
public void setColumnBinding(IBinding columnBinding)
columnBinding
- The columnBinding to setpublic String getElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |