org.richfaces.ui.iteration.extendedDataTable

## Class ExtendedDataTableRenderer

- java.lang.Object
- - javax.faces.render.Renderer
  - - org.richfaces.renderkit.RendererBase
    - - org.richfaces.ui.iteration.AbstractRowsRenderer
      - - org.richfaces.ui.iteration.SortingFilteringRowsRenderer
        - - org.richfaces.ui.iteration.SelectionRenderer
          - - org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer

- All Implemented Interfaces:
    DataVisitor, MetaComponentRenderer

      public class ExtendedDataTableRenderer
      extends SelectionRenderer
      implements MetaComponentRenderer

  Author:
    Konstantin Mishin

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExtendedDataTableRenderer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `consumeTableState(javax.faces.context.FacesContext facesContext, UIDataTableBase table, ExtendedDataTableState tableState)`
    `org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState` | `createRowHolder(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object[] options)`
    `void` | `decodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, 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` | `doEncodeBegin(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)` Template method for custom start encoding of concrete renderer.
    `protected void` | `doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
    `protected void` | `doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)` Template method for custom finish encoding of concrete renderer.
    `void` | `encodeBody(org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState state)`
    `void` | `encodeFooter(org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState state)`
    `void` | `encodeHeader(org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState state)`
    `void` | `encodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId)`
    `void` | `encodeRow(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, RowHolderBase rowHolder)`
    `protected Class<? extends javax.faces.component.UIComponent>` | `getComponentClass()` Get base component slass , targetted for this renderer.
    `protected String` | `getCSSText(javax.faces.context.FacesContext context, UIDataTableBase table)`

    - ### Methods inherited from class org.richfaces.ui.iteration.SelectionRenderer

      `encodeSelectionInput`

    - ### Methods inherited from class org.richfaces.ui.iteration.SortingFilteringRowsRenderer

      `decodeFiltering, decodeSorting, decodeSortingFiltering, updateAttribute`

    - ### Methods inherited from class org.richfaces.ui.iteration.AbstractRowsRenderer

      `doCleanup, encodeFakeRow, encodeRows, get, getColumnClass, getColumnClasses, getRendersChildren, getRowClass, getRowClassAttribute, getRowClasses, process, processRows, put, renderRowHandlers`

    - ### Methods inherited from class org.richfaces.renderkit.RendererBase

      `concatClasses, concatStyles, decode, encodeBegin, encodeChildren, encodeEnd, getResourcePath, 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`

- - ### Constructor Detail

    - #### ExtendedDataTableRenderer

          public ExtendedDataTableRenderer()

  - ### Method Detail

    - #### encodeHeader

          public void encodeHeader(org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState state)
                            throws IOException

      Throws:
        `IOException`

    - #### encodeBody

          public void encodeBody(org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState state)
                          throws IOException

      Throws:
        `IOException`

    - #### encodeFooter

          public void encodeFooter(org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState state)
                            throws IOException

      Throws:
        `IOException`

    - #### getComponentClass

          protected Class<? extends javax.faces.component.UIComponent> getComponentClass()

      Description copied from class: `RendererBase`
      Get base component slass , targetted for this renderer. Used for check arguments in decode/encode.
      Overrides:
        `getComponentClass` in class `RendererBase`
      Returns:

    - #### encodeMetaComponent

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

      Specified by:
        `encodeMetaComponent` in interface `MetaComponentRenderer`
      Throws:
        `IOException`

    - #### decodeMetaComponent

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

      Specified by:
        `decodeMetaComponent` in interface `MetaComponentRenderer`

    - #### doEncodeBegin

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

      Description copied from class: `RendererBase`
      Template method for custom start encoding of concrete renderer. All parameters checking and writer is performed in original `encodeBegin` method.
      Overrides:
        `doEncodeBegin` in class `RendererBase`
      Throws:
        `IOException`

    - #### createRowHolder

          public org.richfaces.ui.iteration.extendedDataTable.ExtendedDataTableRenderer.RendererState createRowHolder(javax.faces.context.FacesContext context,
                                                                                                             javax.faces.component.UIComponent component,
                                                                                                             Object[] options)

      Specified by:
        `createRowHolder` in class `AbstractRowsRenderer`

    - #### doEncodeChildren

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

      Overrides:
        `doEncodeChildren` in class `AbstractRowsRenderer`
      Throws:
        `IOException`

    - #### doEncodeEnd

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

      Description copied from class: `RendererBase`
      Template method for custom finish encoding of concrete renderer. All parameters checking and writer is performed in original `encodeEnd` method.
      Overrides:
        `doEncodeEnd` in class `RendererBase`
      Throws:
        `IOException`

    - #### getCSSText

          protected String getCSSText(javax.faces.context.FacesContext context,
                          UIDataTableBase table)
                               throws IOException

      Throws:
        `IOException`

    - #### encodeRow

          public void encodeRow(javax.faces.context.ResponseWriter writer,
                       javax.faces.context.FacesContext facesContext,
                       RowHolderBase rowHolder)
                         throws IOException

      Specified by:
        `encodeRow` in class `AbstractRowsRenderer`
      Throws:
        `IOException`

    - #### 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 `SelectionRenderer`

    - #### consumeTableState

          public void consumeTableState(javax.faces.context.FacesContext facesContext,
                               UIDataTableBase table,
                               ExtendedDataTableState tableState)

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.