public class GridRenderer extends BaseTableRenderer
UIPanel
component
as a "Grid".BaseTableRenderer.TableMetaInfo
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param
Modifier and Type | Field and Description |
---|---|
private static Attribute[] |
ATTRIBUTES |
EMPTY_PARAMS, logger
Constructor and Description |
---|
GridRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
boolean |
getRendersChildren() |
private void |
renderEmptyTableRow(javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component) |
protected void |
renderFooter(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent table,
javax.faces.context.ResponseWriter writer)
Called to render the opening/closing
tfoot elements
and any content nested between. |
protected void |
renderHeader(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent table,
javax.faces.context.ResponseWriter writer)
Called to render the opening/closing
thead elements
and any content nested between. |
protected void |
renderRow(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent table,
javax.faces.component.UIComponent child,
javax.faces.context.ResponseWriter writer)
Call to render the content that should be included between opening
and closing
tr elements. |
clearMetaInfo, createKey, getMetaInfo, renderCaption, renderRowEnd, renderRowStart, renderTableBodyEnd, renderTableBodyStart, renderTableEnd, renderTableStart
augmentIdReference, convertClientId, decode, decodeBehaviors, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getValue, isBehaviorSource, rendererParamsNotNull, setSubmittedValue, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
private static final Attribute[] ATTRIBUTES
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
java.io.IOException
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeChildren
in class javax.faces.render.Renderer
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class HtmlBasicRenderer
java.io.IOException
public boolean getRendersChildren()
getRendersChildren
in class HtmlBasicRenderer
protected void renderRow(javax.faces.context.FacesContext context, javax.faces.component.UIComponent table, javax.faces.component.UIComponent child, javax.faces.context.ResponseWriter writer) throws java.io.IOException
BaseTableRenderer
tr
elements.renderRow
in class BaseTableRenderer
context
- the FacesContext
for the current requesttable
- the table that's being renderedchild
- the current row (if any - an implmenetation may not need this)writer
- the current writerjava.io.IOException
- if content cannot be writtenprotected void renderHeader(javax.faces.context.FacesContext context, javax.faces.component.UIComponent table, javax.faces.context.ResponseWriter writer) throws java.io.IOException
BaseTableRenderer
thead
elements
and any content nested between.renderHeader
in class BaseTableRenderer
context
- the FacesContext
for the current requesttable
- the table that's being renderedwriter
- the current writerjava.io.IOException
- if content cannot be writtenprotected void renderFooter(javax.faces.context.FacesContext context, javax.faces.component.UIComponent table, javax.faces.context.ResponseWriter writer) throws java.io.IOException
BaseTableRenderer
tfoot
elements
and any content nested between.renderFooter
in class BaseTableRenderer
context
- the FacesContext
for the current requesttable
- the table that's being renderedwriter
- the current writerjava.io.IOException
- if content cannot be writtenprivate void renderEmptyTableRow(javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.