org.apache.myfaces.renderkit.html.ext
Class HtmlRadioRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase
              extended by org.apache.myfaces.renderkit.html.ext.HtmlRadioRenderer

public class HtmlRadioRenderer
extends org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase

Version:
$Revision: 1084267 $ $Date: 2011-03-22 12:49:43 -0500 (Tue, 22 Mar 2011) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Thomas Spiegl

Constructor Summary
HtmlRadioRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  boolean isDisabled(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  void renderRadio(javax.faces.context.FacesContext facesContext, org.apache.myfaces.custom.radio.HtmlRadio radio)
           
protected  String renderRadio(javax.faces.context.FacesContext facesContext, javax.faces.component.UIInput uiComponent, org.apache.myfaces.custom.radio.HtmlRadio radio, String value, String label, boolean disabled, boolean checked, boolean renderId, int itemNum)
          Renders the input item
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase
getConvertedValue, getLayout, getStyleClass, renderGroupOrItemRadio, renderRadio
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, 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

HtmlRadioRenderer

public HtmlRadioRenderer()
Method Detail

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws IOException
Overrides:
encodeEnd in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase
Throws:
IOException

renderRadio

protected void renderRadio(javax.faces.context.FacesContext facesContext,
                           org.apache.myfaces.custom.radio.HtmlRadio radio)
                    throws IOException
Throws:
IOException

renderRadio

protected String renderRadio(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIInput uiComponent,
                             org.apache.myfaces.custom.radio.HtmlRadio radio,
                             String value,
                             String label,
                             boolean disabled,
                             boolean checked,
                             boolean renderId,
                             int itemNum)
                      throws IOException
Renders the input item

Returns:
the 'id' value of the rendered element
Throws:
IOException

isDisabled

protected boolean isDisabled(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent uiComponent)
Overrides:
isDisabled in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent uiComponent)
Overrides:
decode in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase


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