Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Richfaces UI Components UI 4.1.0.20110910-M2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit
Class AbstractTableRenderer

    java.lang.Object
      javax.faces.render.Renderer
          org.richfaces.renderkit.RendererBase
              org.richfaces.renderkit.AbstractRowsRenderer
                  org.richfaces.renderkit.SortingFilteringRowsRenderer
                      org.richfaces.renderkit.AbstractTableBaseRenderer
                          org.richfaces.renderkit.AbstractTableRenderer

All Implemented Interfaces:
  org.ajax4jsf.model.DataVisitor, org.richfaces.renderkit.MetaComponentRenderer

Direct Known Subclasses:
  CollapsibleSubTableRenderer, DataTableRenderer

    public abstract class AbstractTableRenderer

extends AbstractTableBaseRenderer
implements org.richfaces.renderkit.MetaComponentRenderer

Author:
  Anton Belevich

Nested Class Summary
`protected class` | `AbstractTableRenderer.SimpleHeaderEncodeStrategy`

Field Summary
`static java.lang.String` | `HIDDEN_CONTAINER_ID`

Fields inherited from class org.richfaces.renderkit.AbstractTableBaseRenderer
`BREAK_ROW_BEFORE, CELL_CLASS_KEY, COLUMN_CLASS, FIRST_ROW_CLASS_KEY, ROW_CLASS, ROW_CLASS_KEY`

Constructor Summary
`AbstractTableRenderer()`

Method Summary
`abstract boolean` | `containsThead()`
`RowHolderBase` | `createRowHolder(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object[] options)`
`void` | `decodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String metaComponentId)`
`protected void` | `doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)` Template method for custom decoding of concrete renderer.
`protected void` | `doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`void` | `encodeAfterRows(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, boolean encodeParentTBody, boolean partialUpdate)`
`void` | `encodeBeforeRows(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, boolean encodeParentTBody, boolean partialUpdate)`
`abstract void` | `encodeClientScript(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase component)`
`protected void` | `encodeColumnFacet(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, UIDataTableBase dataTableBase, java.lang.String facetName, int colCount, java.lang.String cellClass)`
`void` | `encodeFooterFacet(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTable, boolean encodePartialUpdate)`
`void` | `encodeHeaderFacet(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTable, boolean encodePartialUpdate)`
`abstract void` | `encodeHiddenInput(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase component)`
`protected void` | `encodeHiddens(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, java.lang.Object[] params)`
`void` | `encodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String metaComponentId)`
`void` | `encodeNoDataFacetOrLabel(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase)`
`abstract boolean` | `encodeParentTBody(UIDataTableBase dataTableBase)`
`void` | `encodeTableBodyEnd(javax.faces.context.ResponseWriter writer)`
`void` | `encodeTableBodyStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase)`
`void` | `encodeTableEnd(javax.faces.context.ResponseWriter writer)`
`protected void` | `encodeTableFacet(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter writer, java.lang.String id, int columns, javax.faces.component.UIComponent footer, java.lang.String facetName, java.lang.String rowClass, java.lang.String cellClass, boolean encodePartialUpdate)`
`void` | `encodeTableFacets(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase dataTable)`
`void` | `encodeTableRows(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, boolean encodePartialUpdate)`
`void` | `encodeTableStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase component)`
`void` | `encodeTableStructure(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase dataTable)`
`abstract java.lang.String` | `getCellSkinClass()`
`abstract java.lang.String` | `getColumnFooterCellSkinClass()`
`abstract java.lang.String` | `getColumnFooterFirstSkinClass()`
`abstract java.lang.String` | `getColumnFooterSkinClass()`
`abstract java.lang.String` | `getColumnHeaderCellSkinClass()`
`abstract java.lang.String` | `getColumnHeaderFirstSkinClass()`
`abstract java.lang.String` | `getColumnHeaderSkinClass()`
`abstract java.lang.String` | `getFirstRowSkinClass()`
`abstract java.lang.String` | `getFooterCellSkinClass()`
`abstract java.lang.String` | `getFooterFirstSkinClass()`
`abstract java.lang.String` | `getFooterSkinClass()`
`abstract java.lang.String` | `getHeaderCellSkinClass()`
`abstract EncodeStrategy` | `getHeaderEncodeStrategy(javax.faces.component.UIComponent column, java.lang.String tableFacetName)`
`abstract java.lang.String` | `getHeaderFirstSkinClass()`
`abstract java.lang.String` | `getHeaderSkinClass()`
`abstract EncodeStrategy` | `getHiddenContainerStrategy(UIDataTableBase dataTableBase)`
`abstract java.lang.String` | `getNoDataCellClass()`
`abstract java.lang.String` | `getNoDataClass()`
`abstract java.lang.String` | `getRowSkinClass()`
`abstract java.lang.String` | `getTableBodySkinClass()`
`abstract java.lang.String` | `getTableSkinClass()`
`boolean` | `isColumnAttributeSet(UIDataTableBase table, java.lang.String attributeName)`
`protected boolean` | `isEncodeHeaders(UIDataTableBase table)`
`protected java.lang.String` | `mergeStyleClasses(java.lang.String classAttribibute, java.lang.String skinClass, javax.faces.component.UIComponent component)`
`protected void` | `partialEnd(javax.faces.context.FacesContext facesContext)`
`protected void` | `partialStart(javax.faces.context.FacesContext facesContext, java.lang.String id)`
`protected void` | `putRowStylesIntoContext(javax.faces.context.FacesContext facesContext, RowHolderBase rowHolder)`

Methods inherited from class org.richfaces.renderkit.AbstractTableBaseRenderer
`encodeColumn, encodeColumnEnd, encodeColumnStart, encodeFakeRow, encodeFirstRowEnd, encodeFirstRowStart, encodeRowEnd, encodeRowStart, encodeStyle, encodeStyleClass, getCellClass, getCellElement, getColumnsCount, getFirstRowClass, getRowClass, isEmpty, isEmptyAttr, saveRowStyles, setCellElement`

Methods inherited from class org.richfaces.renderkit.SortingFilteringRowsRenderer
`decodeFiltering, decodeSorting, decodeSortingFiltering, updateAttribute`

Methods inherited from class org.richfaces.renderkit.AbstractRowsRenderer
`doCleanup, encodeRow, encodeRows, get, getColumnClass, getColumnClasses, getRendersChildren, getRowClass, getRowClassAttribute, getRowClasses, process, processRows, put, renderRowHandlers`

Methods inherited from class org.richfaces.renderkit.RendererBase
`concatClasses, concatStyles, decode, doEncodeBegin, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getSkin, getUtils, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren`

Methods inherited from class javax.faces.render.Renderer
`convertClientId, getConvertedValue`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### HIDDEN_CONTAINER_ID

    public static final java.lang.String HIDDEN_CONTAINER_ID

See Also:
  Constant Field Values

Constructor Detail

### AbstractTableRenderer

    public AbstractTableRenderer()

Method Detail

### getHiddenContainerStrategy

    public abstract EncodeStrategy getHiddenContainerStrategy(UIDataTableBase dataTableBase)

### isColumnAttributeSet

    public boolean isColumnAttributeSet(UIDataTableBase table,
                                        java.lang.String attributeName)

### createRowHolder

    public RowHolderBase createRowHolder(javax.faces.context.FacesContext context,
                                         javax.faces.component.UIComponent component,
                                         java.lang.Object[] options)

  Specified by:
    `createRowHolder` in class `AbstractRowsRenderer`

### doDecode

    protected void doDecode(javax.faces.context.FacesContext context,
                            javax.faces.component.UIComponent component)

  Description copied from class: `RendererBase`
  Template method for custom decoding of concrete renderer. All parameters checking if performed in original `decode` method.

  Overrides:
    `doDecode` in class `RendererBase`

### putRowStylesIntoContext

    protected void putRowStylesIntoContext(javax.faces.context.FacesContext facesContext,
                                           RowHolderBase rowHolder)

### isEncodeHeaders

    protected boolean isEncodeHeaders(UIDataTableBase table)

### encodeTableStructure

    public void encodeTableStructure(javax.faces.context.ResponseWriter writer,
                                     javax.faces.context.FacesContext context,
                                     UIDataTableBase dataTable)
                              throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeBeforeRows

    public void encodeBeforeRows(javax.faces.context.ResponseWriter writer,
                                 javax.faces.context.FacesContext facesContext,
                                 UIDataTableBase dataTableBase,
                                 boolean encodeParentTBody,
                                 boolean partialUpdate)
                          throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeAfterRows

    public void encodeAfterRows(javax.faces.context.ResponseWriter writer,
                                javax.faces.context.FacesContext facesContext,
                                UIDataTableBase dataTableBase,
                                boolean encodeParentTBody,
                                boolean partialUpdate)
                         throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeParentTBody

    public abstract boolean encodeParentTBody(UIDataTableBase dataTableBase)

### encodeTableFacets

    public void encodeTableFacets(javax.faces.context.ResponseWriter writer,
                                  javax.faces.context.FacesContext context,
                                  UIDataTableBase dataTable)
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeTableRows

    public void encodeTableRows(javax.faces.context.ResponseWriter writer,
                                javax.faces.context.FacesContext facesContext,
                                UIDataTableBase dataTableBase,
                                boolean encodePartialUpdate)
                         throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeNoDataFacetOrLabel

    public void encodeNoDataFacetOrLabel(javax.faces.context.ResponseWriter writer,
                                         javax.faces.context.FacesContext facesContext,
                                         UIDataTableBase dataTableBase)
                                  throws java.io.IOException

  Throws:
    `java.io.IOException`

### doEncodeChildren

    protected void doEncodeChildren(javax.faces.context.ResponseWriter writer,
                                    javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component)
                             throws java.io.IOException

  Overrides:
    `doEncodeChildren` in class `AbstractRowsRenderer`
  Throws:
    `java.io.IOException`

### encodeTableStart

    public void encodeTableStart(javax.faces.context.ResponseWriter writer,
                                 javax.faces.context.FacesContext context,
                                 UIDataTableBase component)
                          throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeHiddens

    protected void encodeHiddens(javax.faces.context.ResponseWriter writer,
                                 javax.faces.context.FacesContext facesContext,
                                 UIDataTableBase dataTableBase,
                                 java.lang.Object[] params)
                          throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeTableEnd

    public void encodeTableEnd(javax.faces.context.ResponseWriter writer)
                        throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeClientScript

    public abstract void encodeClientScript(javax.faces.context.ResponseWriter writer,
                                            javax.faces.context.FacesContext context,
                                            UIDataTableBase component)
                                     throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeHiddenInput

    public abstract void encodeHiddenInput(javax.faces.context.ResponseWriter writer,
                                           javax.faces.context.FacesContext context,
                                           UIDataTableBase component)
                                    throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeTableBodyStart

    public void encodeTableBodyStart(javax.faces.context.ResponseWriter writer,
                                     javax.faces.context.FacesContext facesContext,
                                     UIDataTableBase dataTableBase)
                              throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeTableBodyEnd

    public void encodeTableBodyEnd(javax.faces.context.ResponseWriter writer)
                            throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeFooterFacet

    public void encodeFooterFacet(javax.faces.context.ResponseWriter writer,
                                  javax.faces.context.FacesContext facesContext,
                                  UIDataTableBase dataTable,
                                  boolean encodePartialUpdate)
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

### mergeStyleClasses

    protected java.lang.String mergeStyleClasses(java.lang.String classAttribibute,
                                                 java.lang.String skinClass,
                                                 javax.faces.component.UIComponent component)

### encodeHeaderFacet

    public void encodeHeaderFacet(javax.faces.context.ResponseWriter writer,
                                  javax.faces.context.FacesContext facesContext,
                                  UIDataTableBase dataTable,
                                  boolean encodePartialUpdate)
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeColumnFacet

    protected void encodeColumnFacet(javax.faces.context.FacesContext context,
                                     javax.faces.context.ResponseWriter writer,
                                     UIDataTableBase dataTableBase,
                                     java.lang.String facetName,
                                     int colCount,
                                     java.lang.String cellClass)
                              throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeTableFacet

    protected void encodeTableFacet(javax.faces.context.FacesContext facesContext,
                                    javax.faces.context.ResponseWriter writer,
                                    java.lang.String id,
                                    int columns,
                                    javax.faces.component.UIComponent footer,
                                    java.lang.String facetName,
                                    java.lang.String rowClass,
                                    java.lang.String cellClass,
                                    boolean encodePartialUpdate)
                             throws java.io.IOException

  Throws:
    `java.io.IOException`

### getHeaderEncodeStrategy

    public abstract EncodeStrategy getHeaderEncodeStrategy(javax.faces.component.UIComponent column,
                                                           java.lang.String tableFacetName)

### containsThead

    public abstract boolean containsThead()

### getTableSkinClass

    public abstract java.lang.String getTableSkinClass()

### getTableBodySkinClass

    public abstract java.lang.String getTableBodySkinClass()

### getFirstRowSkinClass

    public abstract java.lang.String getFirstRowSkinClass()

### getRowSkinClass

    public abstract java.lang.String getRowSkinClass()

### getHeaderCellSkinClass

    public abstract java.lang.String getHeaderCellSkinClass()

### getHeaderSkinClass

    public abstract java.lang.String getHeaderSkinClass()

### getHeaderFirstSkinClass

    public abstract java.lang.String getHeaderFirstSkinClass()

### getColumnHeaderCellSkinClass

    public abstract java.lang.String getColumnHeaderCellSkinClass()

### getColumnHeaderSkinClass

    public abstract java.lang.String getColumnHeaderSkinClass()

### getColumnHeaderFirstSkinClass

    public abstract java.lang.String getColumnHeaderFirstSkinClass()

### getFooterCellSkinClass

    public abstract java.lang.String getFooterCellSkinClass()

### getFooterSkinClass

    public abstract java.lang.String getFooterSkinClass()

### getFooterFirstSkinClass

    public abstract java.lang.String getFooterFirstSkinClass()

### getColumnFooterCellSkinClass

    public abstract java.lang.String getColumnFooterCellSkinClass()

### getColumnFooterSkinClass

    public abstract java.lang.String getColumnFooterSkinClass()

### getColumnFooterFirstSkinClass

    public abstract java.lang.String getColumnFooterFirstSkinClass()

### getCellSkinClass

    public abstract java.lang.String getCellSkinClass()

### getNoDataClass

    public abstract java.lang.String getNoDataClass()

### getNoDataCellClass

    public abstract java.lang.String getNoDataCellClass()

### encodeMetaComponent

    public void encodeMetaComponent(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    java.lang.String metaComponentId)
                             throws java.io.IOException

  Specified by:
    `encodeMetaComponent` in interface `org.richfaces.renderkit.MetaComponentRenderer`
  Throws:
    `java.io.IOException`

### decodeMetaComponent

    public void decodeMetaComponent(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    java.lang.String metaComponentId)

  Specified by:
    `decodeMetaComponent` in interface `org.richfaces.renderkit.MetaComponentRenderer`

### partialStart

    protected void partialStart(javax.faces.context.FacesContext facesContext,
                                java.lang.String id)
                         throws java.io.IOException

  Throws:
    `java.io.IOException`

### partialEnd

    protected void partialEnd(javax.faces.context.FacesContext facesContext)
                       throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Richfaces UI Components UI 4.1.0.20110910-M2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.