Class BaseTableRenderer.TableMetaInfo
java.lang.Object
com.sun.faces.renderkit.html_basic.BaseTableRenderer.TableMetaInfo
- Enclosing class:
- BaseTableRenderer
protected static class BaseTableRenderer.TableMetaInfo extends Object
-
Field Summary
Fields Modifier and Type Field Description String[]
columnClasses
int
columnCount
List<UIColumn>
columns
int
columnStyleCounter
boolean
hasFooterFacets
boolean
hasHeaderFacets
static String
KEY
String[]
rowClasses
int
rowStyleCounter
-
Constructor Summary
Constructors Constructor Description TableMetaInfo(UIComponent table)
-
Method Summary
Modifier and Type Method Description String
getCurrentColumnClass()
Obtain the column class based on the current counter.String
getCurrentRowClass()
Obtain the row class based on the current counter.void
newRow()
Reset the counter used to apply column styles.
-
Field Details
-
KEY
-
rowClasses
-
columnClasses
-
columns
-
hasHeaderFacets
public final boolean hasHeaderFacets -
hasFooterFacets
public final boolean hasFooterFacets -
columnCount
public final int columnCount -
columnStyleCounter
public int columnStyleCounter -
rowStyleCounter
public int rowStyleCounter
-
-
Constructor Details
-
Method Details
-
newRow
public void newRow()Reset the counter used to apply column styles. -
getCurrentColumnClass
Obtain the column class based on the current counter. Calling this method automatically moves the pointer to the next style. If the counter is larger than the number of total classes, the counter will be reset.- Returns:
- the current style
-
getCurrentRowClass
Obtain the row class based on the current counter. Calling this method automatically moves the pointer to the next style. If the counter is larger than the number of total classes, the counter will be reset.- Returns:
- the current style
-