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[]columnClassesintcolumnCountList<UIColumn>columnsintcolumnStyleCounterbooleanhasFooterFacetsbooleanhasHeaderFacetsstatic StringKEYString[]rowClassesintrowStyleCounter
-
Constructor Summary
Constructors Constructor Description TableMetaInfo(UIComponent table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentColumnClass()Obtain the column class based on the current counter.StringgetCurrentRowClass()Obtain the row class based on the current counter.voidnewRow()Reset the counter used to apply column styles.
-
-
-
Field Detail
-
KEY
public static final String KEY
-
rowClasses
public final String[] rowClasses
-
columnClasses
public final String[] columnClasses
-
hasHeaderFacets
public final boolean hasHeaderFacets
-
hasFooterFacets
public final boolean hasFooterFacets
-
columnCount
public final int columnCount
-
columnStyleCounter
public int columnStyleCounter
-
rowStyleCounter
public int rowStyleCounter
-
-
Constructor Detail
-
TableMetaInfo
public TableMetaInfo(UIComponent table)
-
-
Method Detail
-
newRow
public void newRow()
Reset the counter used to apply column styles.
-
getCurrentColumnClass
public String 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
public String 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
-
-