| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | clearMetaInfo(FacesContext
the context, UIComponent FacesContext for the current requestthe table from which the TableMetaInfo will be removed table)Removes the cached TableMetaInfo from the specified component. |
| protected String | Returns: a unique key to store the metadata in the request and still have it associated with a specific component.the table that's being rendered table)Creates a unique key based on the provided |
| protected BaseTableRenderer. | Returns: theTableMetaInfo for provided tablethe context, UIComponent FacesContext for the current requestthe table that's being rendered table)Returns a |
| protected void | renderCaption(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Renders the caption of the table applying the values of
|
| protected abstract void | renderFooter(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Called to render the opening/closing |
| protected abstract void | renderHeader(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Called to render the opening/closing |
| protected abstract void | renderRow(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, UIComponent the current row (if any - an implmenetation may not need this) row, ResponseWriter the current writer writer)Call to render the content that should be included between opening
and closing |
| protected void | renderRowEnd(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Renders the closing |
| protected void | renderRowStart(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Renders the starting |
| protected void | renderTableBodyEnd(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Renders the closing |
| protected void | renderTableBodyStart(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Renders the starting |
| protected void | renderTableEnd(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer)Renders the closing |
| protected void | renderTableStart(FacesContext
the context, UIComponent FacesContext for the current requestthe table that's being rendered table, ResponseWriter the current writer writer, Attribute[] pass-through attributes that the component
supports attributes)Renders the start of a table and applies the value of
|
| BaseTableRenderer | back to summary |
|---|---|
| public BaseTableRenderer() | |
| clearMetaInfo | back to summary |
|---|---|
| protected void clearMetaInfo(FacesContext context, UIComponent table) Removes the cached TableMetaInfo from the specified component.
| |
| createKey | back to summary |
|---|---|
| protected String createKey(UIComponent table) Creates a unique key based on the provided
| |
| getMetaInfo | back to summary |
|---|---|
| protected BaseTableRenderer. Returns a
| |
| renderCaption | back to summary |
|---|---|
| protected void renderCaption(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Renders the caption of the table applying the values of
| |
| renderFooter | back to summary |
|---|---|
| protected abstract void renderFooter(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Called to render the opening/closing
| |
| renderHeader | back to summary |
|---|---|
| protected abstract void renderHeader(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Called to render the opening/closing
| |
| renderRow | back to summary |
|---|---|
| protected abstract void renderRow(FacesContext context, UIComponent table, UIComponent row, ResponseWriter writer) throws IOException Call to render the content that should be included between opening
and closing
| |
| renderRowEnd | back to summary |
|---|---|
| protected void renderRowEnd(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Renders the closing
| |
| renderRowStart | back to summary |
|---|---|
| protected void renderRowStart(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Renders the starting
| |
| renderTableBodyEnd | back to summary |
|---|---|
| protected void renderTableBodyEnd(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Renders the closing
| |
| renderTableBodyStart | back to summary |
|---|---|
| protected void renderTableBodyStart(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Renders the starting
| |
| renderTableEnd | back to summary |
|---|---|
| protected void renderTableEnd(FacesContext context, UIComponent table, ResponseWriter writer) throws IOException Renders the closing
| |
| renderTableStart | back to summary |
|---|---|
| protected void renderTableStart(FacesContext context, UIComponent table, ResponseWriter writer, Attribute[] attributes) throws IOException Renders the start of a table and applies the value of
| |
| Modifier and Type | Field and Description |
|---|---|
| public final String[] | |
| public final int | |
| public final List | |
| public int | |
| private static final String[] | |
| public final boolean | |
| public final boolean | |
| public static final String | |
| public final String[] | |
| public int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String[] | Returns: an array of column classesjavax.faces.component.UIComponent component being renderedReturn an array of stylesheet classes to be applied to each column in the table in the order specified. |
| private static List | Returns: the List of all UIColumn childrenthe table from which to extract children table)Return an Iterator over the |
| public String | Returns: the current styleObtain the column class based on the current counter. |
| public String | |
| private static String[] | Returns: an array of row classesjavax.faces.component.UIComponent component being renderedReturn an array of stylesheet classes to be applied to each row in the table, in the order specified. |
| private static boolean | |
| public void |
| columnClasses | back to summary |
|---|---|
| public final String[] columnClasses | |
| columnCount | back to summary |
|---|---|
| public final int columnCount | |
| columns | back to summary |
|---|---|
| public final List<UIColumn> columns | |
| columnStyleCounter | back to summary |
|---|---|
| public int columnStyleCounter | |
| EMPTY_STRING_ARRAY | back to summary |
|---|---|
| private static final String[] EMPTY_STRING_ARRAY | |
| hasFooterFacets | back to summary |
|---|---|
| public final boolean hasFooterFacets | |
| hasHeaderFacets | back to summary |
|---|---|
| public final boolean hasHeaderFacets | |
| KEY | back to summary |
|---|---|
| public static final String KEY | |
| rowClasses | back to summary |
|---|---|
| public final String[] rowClasses | |
| rowStyleCounter | back to summary |
|---|---|
| public int rowStyleCounter | |
| TableMetaInfo | back to summary |
|---|---|
| public TableMetaInfo(UIComponent table) | |
| getColumnClasses | back to summary |
|---|---|
| private static String[] getColumnClasses(UIComponent table) Return an array of stylesheet classes to be applied to each column in the table in the order specified. Every column may or may not have a stylesheet.
| |
| getColumns | back to summary |
|---|---|
| private static List Return an Iterator over the
| |
| getCurrentColumnClass | back to summary |
|---|---|
| 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.
| |
| getCurrentRowClass | back to summary |
|---|---|
| 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.
| |
| getRowClasses | back to summary |
|---|---|
| private static String[] getRowClasses(UIComponent table) Return an array of stylesheet classes to be applied to each row in the table, in the order specified. Every row may or may not have a stylesheet.
| |
| hasFacet | back to summary |
|---|---|
| private static boolean hasFacet(String name, List<UIColumn> columns) Return the number of child | |
| newRow | back to summary |
|---|---|
| public void newRow() Reset the counter used to apply column styles. | |