org.apache.myfaces.shared.renderkit.html
Class HtmlListboxRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared.renderkit.html.HtmlSelectableRendererBase
              extended by org.apache.myfaces.shared.renderkit.html.HtmlListboxRendererBase

public class HtmlListboxRendererBase
extends HtmlSelectableRendererBase

Version:
$Revision: 1230370 $ $Date: 2012-01-11 21:07:58 -0500 (Wed, 11 Jan 2012) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $), Anton Koinov

Constructor Summary
HtmlListboxRendererBase()
           
 
Method Summary
 void decode(FacesContext facesContext, UIComponent uiComponent)
           
 void encodeEnd(FacesContext facesContext, UIComponent uiComponent)
           
 Object getConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object submittedValue)
           
protected  Converter getConverter(FacesContext facesContext, UIComponent component)
          Gets the converter for the given component rendered by this renderer.
protected  boolean isDisabled(FacesContext facesContext, UIComponent uiComponent)
           
protected  void renderListbox(FacesContext facesContext, UISelectMany selectMany, boolean disabled, int size, Converter converter)
           
protected  void renderListbox(FacesContext facesContext, UISelectOne selectOne, boolean disabled, int size, Converter converter)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlSelectableRendererBase
internalRenderSelect
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlListboxRendererBase

public HtmlListboxRendererBase()
Method Detail

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent uiComponent)
               throws IOException
Overrides:
encodeEnd in class Renderer
Throws:
IOException

renderListbox

protected void renderListbox(FacesContext facesContext,
                             UISelectOne selectOne,
                             boolean disabled,
                             int size,
                             Converter converter)
                      throws IOException
Throws:
IOException

renderListbox

protected void renderListbox(FacesContext facesContext,
                             UISelectMany selectMany,
                             boolean disabled,
                             int size,
                             Converter converter)
                      throws IOException
Throws:
IOException

isDisabled

protected boolean isDisabled(FacesContext facesContext,
                             UIComponent uiComponent)

decode

public void decode(FacesContext facesContext,
                   UIComponent uiComponent)
Overrides:
decode in class Renderer

getConvertedValue

public Object getConvertedValue(FacesContext facesContext,
                                UIComponent uiComponent,
                                Object submittedValue)
                         throws ConverterException
Overrides:
getConvertedValue in class Renderer
Throws:
ConverterException

getConverter

protected Converter getConverter(FacesContext facesContext,
                                 UIComponent component)
Gets the converter for the given component rendered by this renderer.

Parameters:
facesContext -
component -
Returns:


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.