|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
org.apache.tapestry.contrib.table.components.AbstractTableViewComponent
org.apache.tapestry.contrib.table.components.TableRows
public abstract class 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.
Please see the Component Reference for details on how to use this component. [Component Reference]
| Field Summary |
|---|
| Fields inherited from class org.apache.tapestry.AbstractComponent |
|---|
_clientId |
| Fields inherited from interface org.apache.tapestry.contrib.table.model.ITableRowSource |
|---|
TABLE_ROW_SOURCE_ATTRIBUTE |
| Constructor Summary | |
|---|---|
TableRows()
|
|
| Method Summary | |
|---|---|
Object |
getFullSource()
|
abstract Object |
getFullSourceParameter()
|
int |
getTableIndex()
Returns the index of the currently rendered table row. |
Object |
getTableRow()
Returns the currently rendered table row. |
Iterator |
getTableRowsIterator()
Get the list of all table rows to be displayed on this page. |
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
void |
setTableIndex(int tableIndex)
Sets the index of the currently rendered table row. |
void |
setTableRow(Object tableRow)
Sets the currently rendered table row. |
| 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.AbstractComponent |
|---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString, triggerEvent |
| Methods inherited from class org.apache.hivemind.impl.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.IComponent |
|---|
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty |
| Methods inherited from interface org.apache.tapestry.IRender |
|---|
render |
| Methods inherited from interface org.apache.hivemind.LocationHolder |
|---|
setLocation |
| Methods inherited from interface org.apache.hivemind.Locatable |
|---|
getLocation |
| Constructor Detail |
|---|
public TableRows()
| Method Detail |
|---|
public abstract Object getFullSourceParameter()
public Object getTableRow()
getTableRow in interface ITableRowSourcepublic void setTableRow(Object tableRow)
tableRow - The current table rowpublic int getTableIndex()
public void setTableIndex(int tableIndex)
tableIndex - The index of the current table rowpublic Iterator getTableRowsIterator()
public Object getFullSource()
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
renderComponent in class org.apache.tapestry.BaseComponentBaseComponent.renderComponent(IMarkupWriter,
IRequestCycle)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||