public class RowRenderer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
rowClasses |
protected int |
rowNum |
Constructor and Description |
---|
RowRenderer()
RowRenderer Construtor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRowClass(java.lang.Object currentObject)
get the row class for the current object
|
java.lang.String |
getRowId(java.lang.String listName,
java.lang.Object currentObject)
Returns the row id given the list name and the current object
|
java.lang.String |
getRowStyle(java.lang.Object currentObject)
get the row style for the current object
|
void |
setRowClasses(java.lang.String stylesIn)
Set the list of row styles
|
public java.lang.String getRowClass(java.lang.Object currentObject)
currentObject
- the current object that is being renderedpublic void setRowClasses(java.lang.String stylesIn)
stylesIn
- the stylespublic java.lang.String getRowId(java.lang.String listName, java.lang.Object currentObject)
listName
- the listnamecurrentObject
- the current objectpublic java.lang.String getRowStyle(java.lang.Object currentObject)
currentObject
- the current object that is being rendered