Class PanelGridRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.component.panelgrid.PanelGridRenderer
-
public class PanelGridRenderer extends CoreRenderer
-
-
Field Summary
Fields Modifier and Type Field Description static String
LAYOUT_FLEX
static String
LAYOUT_GRID
static String
LAYOUT_TABULAR
-
Constructor Summary
Constructors Constructor Description PanelGridRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
void
encodeDynamicBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
void
encodeFlexGridBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns)
void
encodeGridBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns)
void
encodeGridFacet(javax.faces.context.FacesContext context, PanelGrid grid, int columns, String facet, String styleClass)
void
encodeGridLayout(javax.faces.context.FacesContext context, PanelGrid grid)
void
encodeRow(javax.faces.context.FacesContext context, Row row, String columnRole, String rowClass, String columnClass)
void
encodeStaticBody(javax.faces.context.FacesContext context, PanelGrid grid)
void
encodeTableBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns)
void
encodeTableFacet(javax.faces.context.FacesContext context, PanelGrid grid, int columns, String facet, String tag, String styleClass)
void
encodeTableLayout(javax.faces.context.FacesContext context, PanelGrid grid)
boolean
getRendersChildren()
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Field Detail
-
LAYOUT_TABULAR
public static final String LAYOUT_TABULAR
- See Also:
- Constant Field Values
-
LAYOUT_GRID
public static final String LAYOUT_GRID
- See Also:
- Constant Field Values
-
LAYOUT_FLEX
public static final String LAYOUT_FLEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeTableLayout
public void encodeTableLayout(javax.faces.context.FacesContext context, PanelGrid grid) throws IOException
- Throws:
IOException
-
encodeGridLayout
public void encodeGridLayout(javax.faces.context.FacesContext context, PanelGrid grid) throws IOException
- Throws:
IOException
-
encodeTableBody
public void encodeTableBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns) throws IOException
- Throws:
IOException
-
encodeDynamicBody
public void encodeDynamicBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns) throws IOException
- Throws:
IOException
-
encodeStaticBody
public void encodeStaticBody(javax.faces.context.FacesContext context, PanelGrid grid) throws IOException
- Throws:
IOException
-
encodeRow
public void encodeRow(javax.faces.context.FacesContext context, Row row, String columnRole, String rowClass, String columnClass) throws IOException
- Throws:
IOException
-
encodeGridBody
public void encodeGridBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns) throws IOException
- Throws:
IOException
-
encodeFlexGridBody
public void encodeFlexGridBody(javax.faces.context.FacesContext context, PanelGrid grid, int columns) throws IOException
- Throws:
IOException
-
encodeTableFacet
public void encodeTableFacet(javax.faces.context.FacesContext context, PanelGrid grid, int columns, String facet, String tag, String styleClass) throws IOException
- Throws:
IOException
-
encodeGridFacet
public void encodeGridFacet(javax.faces.context.FacesContext context, PanelGrid grid, int columns, String facet, String styleClass) throws IOException
- Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
-