public class HtmlTableRenderer extends HtmlTableRendererBase
FOOTER_FACET_NAME, HEADER_FACET_NAME| Constructor and Description |
|---|
HtmlTableRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
determineChildColSpan(javax.faces.component.UIComponent uiComponent)
handles uicolumns component
|
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected void |
encodeColumnChild(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
javax.faces.component.UIComponent component,
java.util.Iterator columnStyleIterator)
handles uicolumns component
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected boolean |
hasFacet(boolean header,
javax.faces.component.UIComponent uiComponent)
handles uicolumns component
|
protected void |
renderColumnBody(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
javax.faces.component.UIComponent component,
java.util.Iterator columnStyleIterator)
Renders the body of a given
UIColumn (everything but the header and footer facets). |
protected void |
renderColumnChildHeaderOrFooterRow(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
java.lang.String styleClass,
boolean header)
handles uicolumns component
|
protected void |
renderColumnFooterCell(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
javax.faces.component.UIComponent facet,
java.lang.String footerStyleClass,
int colspan)
Renders the footer facet for the given
UIColumn. |
protected void |
renderColumnHeaderCell(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
javax.faces.component.UIComponent facet,
java.lang.String headerStyleClass,
int colspan)
Renders the header facet for the given
UIColumn. |
protected void |
renderHtmlColumnAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
java.lang.String prefix) |
protected void |
renderRowAttribute(javax.faces.context.ResponseWriter writer,
java.lang.String htmlAttribute,
java.lang.Object value) |
protected void |
renderRowStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
java.util.Iterator rowStyleClassIterator)
Renders the start of a new row of body content.
|
protected void |
renderRowStyle(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
java.util.Iterator rowStyleIterator) |
afterRow, afterTable, beforeRow, beforeTable, decode, encodeInnerHtml, getFooterClass, getHeaderClass, getRendersChildren, renderColumnFooterCell, renderColumnFooterRow, renderColumnHeaderCell, renderColumnHeaderRow, renderFacet, renderRowEnd, renderTableFooterRow, renderTableHeaderRowpublic void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
encodeBegin in class HtmlTableRendererBasejava.io.IOExceptionHtmlTableRendererBase.encodeBegin(javax.faces.context.FacesContext, javax.faces.component.UIComponent)public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeChildren in class HtmlTableRendererBasejava.io.IOExceptionHtmlTableRendererBase.encodeChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent)public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
encodeEnd in class HtmlTableRendererBasejava.io.IOExceptionHtmlTableRendererBase.encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent)protected void renderRowStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
java.util.Iterator rowStyleClassIterator)
throws java.io.IOException
HtmlTableRendererBaserenderRowStart in class HtmlTableRendererBasefacesContext - the FacesContext.writer - the ResponseWriter.uiData - the UIData being rendered.rowStyleClassIterator - te styleClass of the row or null if there is none.java.io.IOException - if an exceptoin occurs.protected void renderRowStyle(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
java.util.Iterator rowStyleIterator)
throws java.io.IOException
renderRowStyle in class HtmlTableRendererBasejava.io.IOExceptionHtmlTableRendererBase.renderRowStyle(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, javax.faces.component.UIData, java.util.Iterator)protected void renderRowAttribute(javax.faces.context.ResponseWriter writer,
java.lang.String htmlAttribute,
java.lang.Object value)
throws java.io.IOException
java.io.IOExceptionprotected void encodeColumnChild(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
javax.faces.component.UIComponent component,
java.util.Iterator columnStyleIterator)
throws java.io.IOException
encodeColumnChild in class HtmlTableRendererBasejava.io.IOExceptionorg.apache.myfaces.renderkit.html.HtmlTableRendererBase#encodeColumnChild(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, javax.faces.component.UIData, javax.faces.component.UIComponent, java.lang.String)protected void renderColumnBody(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIData uiData,
javax.faces.component.UIComponent component,
java.util.Iterator columnStyleIterator)
throws java.io.IOException
HtmlTableRendererBaseUIColumn (everything but the header and footer facets).renderColumnBody in class HtmlTableRendererBasefacesContext - 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.java.io.IOException - if an exception occurs.org.apache.myfaces.renderkit.html.HtmlTableRendererBase#renderColumnBody(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, javax.faces.component.UIData, javax.faces.component.UIComponent, java.lang.String)protected void renderColumnChildHeaderOrFooterRow(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
java.lang.String styleClass,
boolean header)
throws java.io.IOException
renderColumnChildHeaderOrFooterRow in class HtmlTableRendererBasejava.io.IOExceptionHtmlTableRendererBase.renderColumnChildHeaderOrFooterRow(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, boolean)protected void renderColumnHeaderCell(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
javax.faces.component.UIComponent facet,
java.lang.String headerStyleClass,
int colspan)
throws java.io.IOException
HtmlTableRendererBaseUIColumn.renderColumnHeaderCell in class HtmlTableRendererBasefacesContext - 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.java.io.IOExceptionHtmlTableRendererBase.renderColumnHeaderCell(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, javax.faces.component.UIComponent, java.lang.String, int)protected void renderColumnFooterCell(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
javax.faces.component.UIComponent facet,
java.lang.String footerStyleClass,
int colspan)
throws java.io.IOException
HtmlTableRendererBaseUIColumn.renderColumnFooterCell in class HtmlTableRendererBasefacesContext - 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.java.io.IOExceptionHtmlTableRendererBase.renderColumnFooterCell(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, javax.faces.component.UIComponent, java.lang.String, int)protected void renderHtmlColumnAttributes(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent uiComponent,
java.lang.String prefix)
throws java.io.IOException
writer - uiComponent - prefix - header, footer or nulljava.io.IOExceptionprotected int determineChildColSpan(javax.faces.component.UIComponent uiComponent)
determineChildColSpan in class HtmlTableRendererBaseHtmlTableRendererBase.determineChildColSpan(javax.faces.component.UIComponent)protected boolean hasFacet(boolean header,
javax.faces.component.UIComponent uiComponent)
hasFacet in class HtmlTableRendererBaseHtmlTableRendererBase.hasFacet(boolean, javax.faces.component.UIComponent)