|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.displaytag.decorator.Decorator
org.displaytag.decorator.TableDecorator
| Constructor Summary | |
TableDecorator()
|
|
| Method Summary | |
void |
finish()
Called at the end of evaluation. |
java.lang.String |
finishRow()
Called at the end of a row. |
java.lang.Object |
getCurrentRowObject()
Get the object representing the current row. |
java.lang.Object |
getDecoratedObject()
returns the decorated object. |
int |
getListIndex()
return the index in the original list. |
javax.servlet.jsp.PageContext |
getPageContext()
returns the page context. |
int |
getViewIndex()
return the index in the displayed list. |
boolean |
hasGetterFor(java.lang.String propertyName)
Check if a getter exists for a given property. |
void |
init(javax.servlet.jsp.PageContext context,
java.lang.Object decorated)
Initialize the TableTecorator instance. |
void |
initRow(java.lang.Object rowObject,
int currentViewIndex,
int currentListIndex)
Initialize the current row. |
boolean |
searchGetterFor(java.lang.String propertyName)
Looks for a getter for the given property using introspection. |
java.lang.String |
startRow()
Called at the beginning of a row. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableDecorator()
| Method Detail |
public final int getViewIndex()
public final int getListIndex()
public final java.lang.Object getCurrentRowObject()
public final void initRow(java.lang.Object rowObject,
int currentViewIndex,
int currentListIndex)
rowObject - object representing the current rowcurrentViewIndex - int index in the displayed listcurrentListIndex - int index in the original listpublic java.lang.String startRow()
public java.lang.String finishRow()
public void finish()
public void init(javax.servlet.jsp.PageContext context,
java.lang.Object decorated)
context - PageContextdecorated - decorated object (usually a list)public javax.servlet.jsp.PageContext getPageContext()
public java.lang.Object getDecoratedObject()
public boolean hasGetterFor(java.lang.String propertyName)
propertyName - name of the property to check
public boolean searchGetterFor(java.lang.String propertyName)
propertyName - name of the property to check
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||