afterRow
protected void afterRow(FacesContext facesContext,
UIData uiData)
throws IOException
Convenient method for derived table renderers.
facesContext
- the FacesContext
.uiData
- the UIData
being rendered.
afterTable
protected void afterTable(FacesContext facesContext,
UIData uiData)
throws IOException
Convenient method for derived table renderers.
facesContext
- the FacesContext
.uiData
- the UIData
being rendered.
beforeRow
protected void beforeRow(FacesContext facesContext,
UIData uiData)
throws IOException
Convenient method for derived table renderers.
facesContext
- the FacesContext
.uiData
- the UIData
being rendered.
beforeTable
protected void beforeTable(FacesContext facesContext,
UIData uiData)
throws IOException
Convenient method for derived table renderers.
facesContext
- the FacesContext
.uiData
- the UIData
being rendered.
decode
public void decode(FacesContext context,
UIComponent component)
determineChildColSpan
protected int determineChildColSpan(UIComponent uiComponent)
encodeBegin
public void encodeBegin(FacesContext facesContext,
UIComponent uiComponent)
throws IOException
javax.faces.render.Renderer.encodeBegin(FacesContext, UIComponent)
encodeChildren
public void encodeChildren(FacesContext facesContext,
UIComponent component)
throws IOException
- encodeChildren in interface HtmlRenderer
javax.faces.render.Renderer.encodeChildren(FacesContext, UIComponent)
encodeColumnChild
protected void encodeColumnChild(FacesContext facesContext,
ResponseWriter writer,
UIData uiData,
UIComponent component,
Iterator columnStyleIterator)
throws IOException
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent uiComponent)
throws IOException
javax.faces.render.Renderer.encodeEnd(FacesContext, UIComponent)
encodeInnerHtml
public void encodeInnerHtml(FacesContext facesContext,
UIComponent component)
throws IOException
Renders everything inside the
getFooterClass
protected static String getFooterClass(UIComponent component)
Gets the footerClass attribute of the given UIComponent
.
component
- the UIComponent
.
- the footerClass attribute of the given
UIComponent
.
getHeaderClass
protected static String getHeaderClass(UIComponent component)
Gets the headerClass attribute of the given UIComponent
.
component
- the UIComponent
.
- the headerClass attribute of the given
UIComponent
.
getRendersChildren
public boolean getRendersChildren()
javax.faces.render.Renderer.getRendersChildren()
hasFacet
protected boolean hasFacet(boolean header,
UIComponent uiComponent)
renderColumnBody
protected void renderColumnBody(FacesContext facesContext,
ResponseWriter writer,
UIData uiData,
UIComponent component,
Iterator columnStyleIterator)
throws IOException
Renders the body of a given UIColumn
(everything but the header and footer facets).
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiData
- the UIData
being rendered.component
- the UIComponent
to render.columnStyleIterator
- the styleClass of the UIColumn
or null
if
there is none.
renderColumnChildHeaderOrFooterRow
protected void renderColumnChildHeaderOrFooterRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
String styleClass,
boolean header)
throws IOException
renderColumnFooterCell
protected void renderColumnFooterCell(FacesContext facesContext,
ResponseWriter writer,
UIColumn uiColumn,
String footerStyleClass,
int colspan)
throws IOException
Renders the footer facet for the given UIColumn
.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiColumn
- the UIComponent
.footerStyleClass
- the styleClass of the footer facet.colspan
- the colspan for the tableData element in which the footer facet
will be wrapped.
renderColumnFooterCell
protected void renderColumnFooterCell(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
UIComponent facet,
String footerStyleClass,
int colspan)
throws IOException
Renders the footer facet for the given UIColumn
.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiComponent
- the UIComponent
to render the facet for.facet
- the UIComponent
to render as facet.footerStyleClass
- the styleClass of the footer facet.colspan
- the colspan for the tableData element in which the footer facet
will be wrapped.
renderColumnFooterRow
protected void renderColumnFooterRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String footerStyleClass)
throws IOException
Renders the footer row for the columns, which is a separate row from the footer row for the
UIData
footer facet.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.component
- the UIComponent
for whom a table is being rendered.footerStyleClass
- the styleClass of the footerStyleClass
renderColumnHeaderCell
protected void renderColumnHeaderCell(FacesContext facesContext,
ResponseWriter writer,
UIColumn uiColumn,
String headerStyleClass,
int colspan)
throws IOException
Renders the header facet for the given UIColumn
.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiColumn
- the UIColumn
.headerStyleClass
- the styleClass of the header facet.colspan
- the colspan for the tableData element in which the header facet
will be wrapped.
renderColumnHeaderCell
protected void renderColumnHeaderCell(FacesContext facesContext,
ResponseWriter writer,
UIComponent uiComponent,
UIComponent facet,
String headerStyleClass,
int colspan)
throws IOException
Renders the header facet for the given UIColumn
.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiComponent
- the UIComponent
to render the facet for.facet
- the UIComponent
to render as facet.headerStyleClass
- the styleClass of the header facet.colspan
- the colspan for the tableData element in which the header facet
will be wrapped.
renderColumnHeaderRow
protected void renderColumnHeaderRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String headerStyleClass)
throws IOException
Renders the header row for the columns, which is a separate row from the header row for the
UIData
header facet.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.component
- the UIComponent
for whom a table is being rendered.headerStyleClass
- the styleClass of the header
renderFacet
protected void renderFacet(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
boolean header)
throws IOException
Renders either the header or the footer facets.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.component
- the parent UIComponent
containing the facets.header
- whether this is the header facet (if not, then the footer facet).
renderRowEnd
protected void renderRowEnd(FacesContext facesContext,
ResponseWriter writer,
UIData uiData)
throws IOException
Renders the end of a row of body content.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiData
- the UIData
being rendered.
renderRowStart
protected void renderRowStart(FacesContext facesContext,
ResponseWriter writer,
UIData uiData,
Iterator rowStyleIterator)
throws IOException
Renders the start of a new row of body content.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.uiData
- the UIData
being rendered.rowStyleIterator
- te styleClass of the row or null
if there is none.
renderRowStyle
protected void renderRowStyle(FacesContext facesContext,
ResponseWriter writer,
UIData uiData,
Iterator rowStyleIterator)
throws IOException
renderTableFooterRow
protected void renderTableFooterRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
UIComponent footerFacet,
String footerStyleClass,
int colspan)
throws IOException
Renders the footer row of the table being rendered.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.component
- the UIComponent
for whom a table is being rendered.footerFacet
- the facet for the footer.footerStyleClass
- the styleClass of the footer.colspan
- the number of columns the header should span. Typically, this is
the number of columns in the table.
renderTableHeaderRow
protected void renderTableHeaderRow(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
UIComponent headerFacet,
String headerStyleClass,
int colspan)
throws IOException
Renders the header row of the table being rendered.
facesContext
- the FacesContext
.writer
- the ResponseWriter
.component
- the UIComponent
for whom a table is being rendered.headerFacet
- the facet for the header.headerStyleClass
- the styleClass of the header.colspan
- the number of columns the header should span. Typically, this is
the number of columns in the table.