Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.2.2.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit
Class AutocompleteRendererBase

    java.lang.Object
      javax.faces.render.Renderer
          org.richfaces.renderkit.RendererBase
              org.richfaces.renderkit.InputRendererBase
                  org.richfaces.renderkit.AutocompleteRendererBase

All Implemented Interfaces:
  org.richfaces.renderkit.MetaComponentRenderer

Direct Known Subclasses:
  AutocompleteRenderer

    public abstract class AutocompleteRendererBase

extends InputRendererBase
implements org.richfaces.renderkit.MetaComponentRenderer

Author:
  Nick Belaevski

Constructor Summary
`AutocompleteRendererBase()`

Method Summary
`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.
`void` | `encodeItem(javax.faces.context.FacesContext facesContext, AbstractAutocomplete comboBox, Object item, AutocompleteEncodeStrategy strategy)`
`protected void` | `encodeItems(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, List<Object> fetchValues)`
`protected void` | `encodeItemsContainer(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)`
`void` | `encodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId)`
`org.ajax4jsf.javascript.JSReference` | `getClientFilterFunction(javax.faces.component.UIComponent component)`
`Object` | `getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object val)`
`protected int` | `getMinCharsOrDefault(javax.faces.component.UIComponent component)`

Methods inherited from class org.richfaces.renderkit.InputRendererBase
`getInputValue`

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

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

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

Constructor Detail

### AutocompleteRendererBase

    public AutocompleteRendererBase()

Method Detail

### getClientFilterFunction

    public org.ajax4jsf.javascript.JSReference getClientFilterFunction(javax.faces.component.UIComponent component)

### encodeItems

    protected void encodeItems(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UIComponent component,
                               List<Object> fetchValues)
                        throws IOException

  Throws:
    `IOException`

### encodeItemsContainer

    protected void encodeItemsContainer(javax.faces.context.FacesContext facesContext,
                                        javax.faces.component.UIComponent component)
                                 throws IOException

  Throws:
    `IOException`

### encodeItem

    public void encodeItem(javax.faces.context.FacesContext facesContext,
                           AbstractAutocomplete comboBox,
                           Object item,
                           AutocompleteEncodeStrategy strategy)
                    throws IOException

  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 `InputRendererBase`

### encodeMetaComponent

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

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

### decodeMetaComponent

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

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

### getMinCharsOrDefault

    protected int getMinCharsOrDefault(javax.faces.component.UIComponent component)

### getConvertedValue

    public Object getConvertedValue(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    Object val)
                             throws javax.faces.convert.ConverterException

  Overrides:
    `getConvertedValue` in class `InputRendererBase`
  Throws:
    `javax.faces.convert.ConverterException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.2.2.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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