org.apache.myfaces.shared_tomahawk.renderkit.html
Class HtmlCheckboxRendererBase
java.lang.Object
   javax.faces.render.Renderer
javax.faces.render.Renderer
       org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
           org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase
- Direct Known Subclasses: 
- HtmlCheckboxRenderer, HtmlTreeCheckboxRenderer
- public class HtmlCheckboxRendererBase 
- extends HtmlRenderer
- Version:
- $Revision: 1393893 $ $Date: 2012-10-03 21:55:45 -0500 (Wed, 03 Oct 2012) $
- Author:
- Thomas Spiegl (latest modification by $Author: lu4242 $), Anton Koinov
 
| Method Summary | 
|  void | decode(javax.faces.context.FacesContext facesContext,
       javax.faces.component.UIComponent component)
 | 
|  void | encodeEnd(javax.faces.context.FacesContext facesContext,
          javax.faces.component.UIComponent uiComponent)
 | 
|  Object | getConvertedValue(javax.faces.context.FacesContext facesContext,
                  javax.faces.component.UIComponent component,
                  Object submittedValue)
 | 
| protected  String | getLayout(javax.faces.component.UISelectMany selectMany)
 | 
| protected  boolean | isDisabled(javax.faces.context.FacesContext facesContext,
           javax.faces.component.UIComponent component)
 | 
| protected  String | renderCheckbox(javax.faces.context.FacesContext facesContext,
               javax.faces.component.UIComponent uiComponent,
               String value,
               boolean disabled,
               boolean checked,
               boolean renderId,
               Integer itemNum)Renders the input item
 | 
| protected  void | renderCheckbox(javax.faces.context.FacesContext facesContext,
               javax.faces.component.UIComponent uiComponent,
               String value,
               String label,
               boolean disabled,
               boolean checked,
               boolean renderId)Deprecated.
 | 
|  void | renderCheckboxList(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UISelectMany selectMany)
 | 
| protected  void | renderGroupOrItemCheckbox(javax.faces.context.FacesContext facesContext,
                          javax.faces.component.UIComponent uiComponent,
                          javax.faces.model.SelectItem selectItem,
                          boolean useSubmittedValues,
                          Set lookupSet,
                          javax.faces.convert.Converter converter,
                          boolean pageDirectionLayout,
                          Integer itemNum)
 | 
 
 
| 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 | 
 
HtmlCheckboxRendererBase
public HtmlCheckboxRendererBase()
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent uiComponent)
               throws IOException
- 
- Overrides:
- encodeEndin class- javax.faces.render.Renderer
 
- 
- Throws:
- IOException
 
renderCheckboxList
public void renderCheckboxList(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UISelectMany selectMany)
                        throws IOException
- 
- Throws:
- IOException
 
getLayout
protected String getLayout(javax.faces.component.UISelectMany selectMany)
- 
 
renderGroupOrItemCheckbox
protected void renderGroupOrItemCheckbox(javax.faces.context.FacesContext facesContext,
                                         javax.faces.component.UIComponent uiComponent,
                                         javax.faces.model.SelectItem selectItem,
                                         boolean useSubmittedValues,
                                         Set lookupSet,
                                         javax.faces.convert.Converter converter,
                                         boolean pageDirectionLayout,
                                         Integer itemNum)
                                  throws IOException
- 
- Throws:
- IOException
 
renderCheckbox
@Deprecated
protected void renderCheckbox(javax.faces.context.FacesContext facesContext,
                                         javax.faces.component.UIComponent uiComponent,
                                         String value,
                                         String label,
                                         boolean disabled,
                                         boolean checked,
                                         boolean renderId)
                       throws IOException
- Deprecated. 
 
- 
- Throws:
- IOException
 
renderCheckbox
protected String renderCheckbox(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent uiComponent,
                                String value,
                                boolean disabled,
                                boolean checked,
                                boolean renderId,
                                Integer 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 component)
- 
 
decode
public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent component)
- 
- Overrides:
- decodein class- javax.faces.render.Renderer
 
- 
 
getConvertedValue
public Object getConvertedValue(javax.faces.context.FacesContext facesContext,
                                javax.faces.component.UIComponent component,
                                Object submittedValue)
                         throws javax.faces.convert.ConverterException
- 
- Overrides:
- getConvertedValuein class- javax.faces.render.Renderer
 
- 
- Throws:
- javax.faces.convert.ConverterException
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.