|
||||||||||
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.TableRows
A low level Table component that generates the rows of the current page in the table.
This component must be wrapped by TableView
.
The component iterates over the rows of the current page in the table.
The rows are wrapped in 'tr' tags by default.
You can define columns manually within, or
you can use TableValues
to generate the columns automatically.
Parameter | Type | Direction | Required | Default | Description |
---|---|---|---|---|---|
row | Object | out | no | The value object of the current row. | |
element | String | in | no | tr | The tag to use to wrap the rows in. |
Field Summary |
Fields inherited from interface org.apache.tapestry.contrib.table.model.ITableRowSource |
TABLE_ROW_SOURCE_ATTRIBUTE |
Constructor Summary | |
TableRows()
|
Method Summary | |
String |
getElement()
Returns the element. |
IBinding |
getElementBinding()
Returns the elementBinding. |
IBinding |
getRowBinding()
Returns the valueBinding. |
Object |
getTableRow()
Returns the tableRow. |
Iterator |
getTableRowsIterator()
|
IBinding |
getValueBinding()
Returns the valueBinding. |
protected void |
renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the top level components contained by the receiver. |
void |
setElementBinding(IBinding elementBinding)
Sets the elementBinding. |
void |
setRowBinding(IBinding valueBinding)
Sets the valueBinding. |
void |
setTableRow(Object tableRow)
Sets the tableRow. |
void |
setValueBinding(IBinding valueBinding)
Sets the valueBinding. |
Methods inherited from class org.apache.tapestry.contrib.table.components.AbstractTableViewComponent |
getTableModelSource |
Methods inherited from class org.apache.tapestry.BaseComponent |
addOuter, finishLoad |
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 TableRows()
Method Detail |
public Iterator getTableRowsIterator()
public Object getTableRow()
getTableRow
in interface ITableRowSource
public void setTableRow(Object tableRow)
tableRow
- The tableRow to setpublic IBinding getRowBinding()
public void setRowBinding(IBinding valueBinding)
valueBinding
- The valueBinding to setpublic IBinding getValueBinding()
public void setValueBinding(IBinding valueBinding)
valueBinding
- The valueBinding to setpublic IBinding getElementBinding()
public void setElementBinding(IBinding elementBinding)
elementBinding
- The elementBinding to setpublic String getElement()
protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
BaseComponent
renderComponent
in class BaseComponent
BaseComponent.renderComponent(IMarkupWriter, IRequestCycle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |