org.apache.myfaces.renderkit.html.ext
Class HtmlCheckboxRenderer
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
               org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer
org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer
- public class HtmlCheckboxRenderer 
- extends HtmlCheckboxRendererBase
- Version:
- $Revision: 1393889 $ $Date: 2012-10-03 21:53:03 -0500 (Wed, 03 Oct 2012) $
- Author:
- Manfred Geiler (latest modification by $Author: lu4242 $)
 
| 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  javax.faces.convert.Converter | getConverter(javax.faces.context.FacesContext facesContext,
             javax.faces.component.UISelectMany selectMany)
 | 
| protected  String | getItemStringValue(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UISelectMany selectMany,
                   javax.faces.convert.Converter converter,
                   Object itemValue)
 | 
| protected  String | getLayout(javax.faces.component.UISelectMany selectMany)Determines the layout setting.
 | 
| protected  int | getLayoutWidth(javax.faces.component.UISelectMany selectMany)Gets the layout width.
 | 
| protected  boolean | isDisabled(javax.faces.context.FacesContext facesContext,
           javax.faces.component.UIComponent uiComponent)
 | 
| protected  void | renderCheckboxGroup(javax.faces.context.FacesContext facesContext,
                    javax.faces.component.UIComponent uiComponent,
                    javax.faces.model.SelectItemGroup selectItemGroup,
                    boolean useSubmittedValues,
                    Set lookupSet,
                    javax.faces.convert.Converter converter,
                    boolean pageDirectionLayout)
 | 
|  void | renderCheckboxList(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UISelectMany selectMany)
 | 
| protected  void | renderCheckboxListHorizontally(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UISelectMany selectMany,
                               javax.faces.convert.Converter converter)
 | 
| protected  void | renderCheckboxListVertically(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UISelectMany selectMany,
                             javax.faces.convert.Converter converter)
 | 
| 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)
 | 
| protected  void | renderLabelClassIfNecessary(javax.faces.context.FacesContext facesContext,
                            javax.faces.component.UISelectMany selectMany,
                            boolean disabled)
 | 
| protected  void | renderRowForHorizontal(javax.faces.context.FacesContext facesContext,
                       javax.faces.component.UISelectMany selectMany,
                       javax.faces.convert.Converter converter,
                       Set lookupSet,
                       javax.faces.context.ResponseWriter writer,
                       int totalRows,
                       int rowNum)
 | 
| protected  void | renderSingleCheckbox(javax.faces.context.FacesContext facesContext,
                     HtmlCheckbox checkbox)
 | 
 
 
 
| 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 | 
 
HtmlCheckboxRenderer
public HtmlCheckboxRenderer()
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws IOException
- 
- Overrides:
- encodeEndin class- HtmlCheckboxRendererBase
 
- 
- Throws:
- IOException
 
renderCheckboxList
public void renderCheckboxList(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UISelectMany selectMany)
                        throws IOException
- 
- Overrides:
- renderCheckboxListin class- HtmlCheckboxRendererBase
 
- 
- Throws:
- IOException
 
renderCheckboxListHorizontally
protected void renderCheckboxListHorizontally(javax.faces.context.FacesContext facesContext,
                                              javax.faces.component.UISelectMany selectMany,
                                              javax.faces.convert.Converter converter)
                                       throws IOException
- 
- Throws:
- IOException
 
renderRowForHorizontal
protected void renderRowForHorizontal(javax.faces.context.FacesContext facesContext,
                                      javax.faces.component.UISelectMany selectMany,
                                      javax.faces.convert.Converter converter,
                                      Set lookupSet,
                                      javax.faces.context.ResponseWriter writer,
                                      int totalRows,
                                      int rowNum)
                               throws IOException
- 
- Throws:
- IOException
 
renderCheckboxListVertically
protected void renderCheckboxListVertically(javax.faces.context.FacesContext facesContext,
                                            javax.faces.component.UISelectMany selectMany,
                                            javax.faces.convert.Converter converter)
                                     throws IOException
- 
- Throws:
- IOException
 
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)
                                  throws IOException
- 
- Throws:
- IOException
 
renderLabelClassIfNecessary
protected void renderLabelClassIfNecessary(javax.faces.context.FacesContext facesContext,
                                           javax.faces.component.UISelectMany selectMany,
                                           boolean disabled)
                                    throws IOException
- 
- Throws:
- IOException
 
renderCheckboxGroup
protected void renderCheckboxGroup(javax.faces.context.FacesContext facesContext,
                                   javax.faces.component.UIComponent uiComponent,
                                   javax.faces.model.SelectItemGroup selectItemGroup,
                                   boolean useSubmittedValues,
                                   Set lookupSet,
                                   javax.faces.convert.Converter converter,
                                   boolean pageDirectionLayout)
                            throws IOException
- 
- Throws:
- IOException
 
getLayout
protected String getLayout(javax.faces.component.UISelectMany selectMany)
- Determines the layout setting.  Defaults to
 lineDirectionif not specified.
 
- 
- Overrides:
- getLayoutin class- HtmlCheckboxRendererBase
 
- 
- Parameters:
- selectMany- the component
- Returns:
- the layout
 
getLayoutWidth
protected int getLayoutWidth(javax.faces.component.UISelectMany selectMany)
- Gets the layout width.
 Returns the default layout width of 1 if the layout width
 is not set or is less than 1.
 
- 
- Parameters:
- selectMany- the component
- Returns:
- the layout width
 
renderSingleCheckbox
protected void renderSingleCheckbox(javax.faces.context.FacesContext facesContext,
                                    HtmlCheckbox checkbox)
                             throws IOException
- 
- Throws:
- IOException
 
isDisabled
protected boolean isDisabled(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent uiComponent)
- 
- Overrides:
- isDisabledin class- HtmlCheckboxRendererBase
 
- 
 
decode
public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent uiComponent)
- 
- Overrides:
- decodein class- HtmlCheckboxRendererBase
 
- 
 
getItemStringValue
protected String getItemStringValue(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UISelectMany selectMany,
                                    javax.faces.convert.Converter converter,
                                    Object itemValue)
- 
 
getConverter
protected javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext facesContext,
                                                     javax.faces.component.UISelectMany selectMany)
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.