Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit.html
Class ScrollableDataTableBaseRenderer

    java.lang.Object
      javax.faces.render.Renderer
          org.ajax4jsf.renderkit.RendererBase
              org.ajax4jsf.renderkit.HeaderResourcesRendererBase
                  org.ajax4jsf.renderkit.AjaxComponentRendererBase
                      org.ajax4jsf.renderkit.AjaxChildrenRenderer
                          org.richfaces.renderkit.CompositeRenderer
                              org.richfaces.renderkit.html.ScrollableDataTableBaseRenderer

All Implemented Interfaces:
  org.ajax4jsf.renderkit.AjaxRenderer, org.ajax4jsf.renderkit.ChameleonRenderer, org.ajax4jsf.renderkit.HeaderResourceProducer, org.ajax4jsf.resource.ResourceProduser

Direct Known Subclasses:
  ScrollableDataTableRenderer

    public abstract class ScrollableDataTableBaseRenderer

extends org.richfaces.renderkit.CompositeRenderer

Author:
  Anton Belevich

Field Summary
`java.lang.String` | `FOOTER_PART`
`java.lang.String` | `HEADER_PART`
`java.lang.String` | `PARTIAL_UPDATE`
`java.lang.String` | `UPDATE_HEADER`

Fields inherited from class org.ajax4jsf.renderkit.AjaxChildrenRenderer
`SPECIAL_COMPONENTS_TYPES`

Fields inherited from class org.ajax4jsf.renderkit.RendererBase
`JAVASCRIPT_NAMESPACE`

Constructor Summary
`ScrollableDataTableBaseRenderer()`

Method Summary
`void` | `contributorsEncodeHere(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`java.lang.String` | `createClientScrollableGrid(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`protected void` | `doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`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)`
`java.lang.String` | `getFormattedWidth(java.lang.String receivedWidth)`
`static java.lang.String` | `getJavaScriptVarName(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`boolean` | `getRendersChildren()`
`java.lang.String` | `getRowsAjaxUpdate(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`protected java.lang.String` | `getScriptContributions(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`void` | `renderAjaxChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)`
`void` | `renderCols(javax.faces.context.FacesContext context, UIScrollableDataTable grid, boolean isFrozen)`
`void` | `renderFooters(javax.faces.context.FacesContext context, UIScrollableDataTable grid, boolean isFrozen)`
`void` | `renderGridBody(javax.faces.context.FacesContext context, UIScrollableDataTable grid, boolean isFrozen)`
`void` | `renderHeaders(javax.faces.context.FacesContext context, UIScrollableDataTable grid, boolean isFrozen)`
`void` | `renderHiddenScrollInput(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`void` | `setUpColumnsWidth(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`void` | `setUpState(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`
`void` | `tearDownState(javax.faces.context.FacesContext context, UIScrollableDataTable grid)`

Methods inherited from class org.richfaces.renderkit.CompositeRenderer
`addContributor, addParameterEncoder, contributorDecodeCallback, encodeAttributeParameters, getContributors, getParameterEncoders, getScriptContributions, getScriptContributions, getScripts, getScripts, getStyles, getStyles, mergeScriptOptions, mergeScriptOptions`

Methods inherited from class org.ajax4jsf.renderkit.AjaxChildrenRenderer
`encodeAjaxChild, encodeAjaxChildren, encodeAjaxComponent`

Methods inherited from class org.ajax4jsf.renderkit.AjaxComponentRendererBase
`getAdditionalScripts`

Methods inherited from class org.ajax4jsf.renderkit.HeaderResourcesRendererBase
`encodeResourcesArray, getHeaderScripts, getHeaderStyles, preEncodeBegin`

Methods inherited from class org.ajax4jsf.renderkit.RendererBase
`addResource, decode, doEncodeBegin, doEncodeChildren, doEncodeEnd, getComponentClass, getResource, getSkin, getUtils, preDecode, renderChild, 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`

Methods inherited from interface org.ajax4jsf.renderkit.HeaderResourceProducer
`getHeaderScripts, getHeaderStyles`

Field Detail

### PARTIAL_UPDATE

    public final java.lang.String PARTIAL_UPDATE

See Also:
  Constant Field Values

### UPDATE_HEADER

    public final java.lang.String UPDATE_HEADER

See Also:
  Constant Field Values

### FOOTER_PART

    public final java.lang.String FOOTER_PART

See Also:
  Constant Field Values

### HEADER_PART

    public final java.lang.String HEADER_PART

See Also:
  Constant Field Values

Constructor Detail

### ScrollableDataTableBaseRenderer

    public ScrollableDataTableBaseRenderer()

Method Detail

### getFormattedWidth

    public java.lang.String getFormattedWidth(java.lang.String receivedWidth)
                                       throws java.io.IOException

  Throws:
    `java.io.IOException`

### getJavaScriptVarName

    public static java.lang.String getJavaScriptVarName(javax.faces.context.FacesContext context,
                                                        UIScrollableDataTable grid)

### createClientScrollableGrid

    public java.lang.String createClientScrollableGrid(javax.faces.context.FacesContext context,
                                                       UIScrollableDataTable grid)

### getScriptContributions

    protected java.lang.String getScriptContributions(javax.faces.context.FacesContext context,
                                                      UIScrollableDataTable grid)

### getRendersChildren

    public boolean getRendersChildren()

  Overrides:
    `getRendersChildren` in class `javax.faces.render.Renderer`

### renderGridBody

    public void renderGridBody(javax.faces.context.FacesContext context,
                               UIScrollableDataTable grid,
                               boolean isFrozen)
                        throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderHeaders

    public void renderHeaders(javax.faces.context.FacesContext context,
                              UIScrollableDataTable grid,
                              boolean isFrozen)
                       throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderCols

    public void renderCols(javax.faces.context.FacesContext context,
                           UIScrollableDataTable grid,
                           boolean isFrozen)
                    throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderFooters

    public void renderFooters(javax.faces.context.FacesContext context,
                              UIScrollableDataTable grid,
                              boolean isFrozen)
                       throws java.io.IOException

  Throws:
    `java.io.IOException`

### setUpState

    public void setUpState(javax.faces.context.FacesContext context,
                           UIScrollableDataTable grid)

### tearDownState

    public void tearDownState(javax.faces.context.FacesContext context,
                              UIScrollableDataTable grid)

### getRowsAjaxUpdate

    public java.lang.String getRowsAjaxUpdate(javax.faces.context.FacesContext context,
                                              UIScrollableDataTable grid)

### doDecode

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

  Overrides:
    `doDecode` in class `org.richfaces.renderkit.CompositeRenderer`

### renderAjaxChildren

    public void renderAjaxChildren(javax.faces.context.FacesContext context,
                                   javax.faces.component.UIComponent component)
                            throws java.io.IOException

  Throws:
    `java.io.IOException`

### encodeChildren

    public void encodeChildren(javax.faces.context.FacesContext context,
                               javax.faces.component.UIComponent component)
                        throws java.io.IOException

  Overrides:
    `encodeChildren` in class `org.ajax4jsf.renderkit.RendererBase`
  Throws:
    `java.io.IOException`

### encodeBegin

    public void encodeBegin(javax.faces.context.FacesContext context,
                            javax.faces.component.UIComponent component)
                     throws java.io.IOException

  Overrides:
    `encodeBegin` in class `org.ajax4jsf.renderkit.RendererBase`
  Throws:
    `java.io.IOException`

### encodeEnd

    public void encodeEnd(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component)
                   throws java.io.IOException

  Overrides:
    `encodeEnd` in class `org.ajax4jsf.renderkit.RendererBase`
  Throws:
    `java.io.IOException`

### setUpColumnsWidth

    public void setUpColumnsWidth(javax.faces.context.FacesContext context,
                                  UIScrollableDataTable grid)
                           throws java.io.IOException

  Throws:
    `java.io.IOException`

### renderHiddenScrollInput

    public void renderHiddenScrollInput(javax.faces.context.FacesContext context,
                                        UIScrollableDataTable grid)
                                 throws java.io.IOException

  Throws:
    `java.io.IOException`

### contributorsEncodeHere

    public void contributorsEncodeHere(javax.faces.context.FacesContext context,
                                       UIScrollableDataTable grid)
                                throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007. All Rights Reserved.