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

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.HtmlMenuRendererBase

public class HtmlMenuRendererBase
extends HtmlSelectableRendererBase

X-CHECKED: tlddoc of h:selectManyListbox

Version:
$Revision: 1230371 $ $Date: 2012-01-11 21:09:45 -0500 (Wed, 11 Jan 2012) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Thomas Spiegl

Constructor Summary
HtmlMenuRendererBase()
           
 
Method Summary
 void decode(FacesContext facesContext, UIComponent uiComponent)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 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 renderMenu(FacesContext facesContext, UISelectMany selectMany, boolean disabled, Converter converter)
           
protected  void renderMenu(FacesContext facesContext, UISelectOne selectOne, boolean disabled, 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

HtmlMenuRendererBase

public HtmlMenuRendererBase()
Method Detail

encodeEnd

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

renderMenu

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

renderMenu

protected void renderMenu(FacesContext facesContext,
                          UISelectMany selectMany,
                          boolean disabled,
                          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.