Class HtmlCheckboxRendererBase
- java.lang.Object
- 
- jakarta.faces.render.Renderer
- 
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
- 
- org.apache.myfaces.renderkit.html.base.HtmlCheckboxRendererBase
 
 
 
- 
- Direct Known Subclasses:
- HtmlCheckboxRenderer
 
 public class HtmlCheckboxRendererBase extends HtmlRenderer 
- 
- 
Field Summary- 
Fields inherited from class jakarta.faces.render.RendererPASSTHROUGH_RENDERER_LOCALNAME_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description HtmlCheckboxRendererBase()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(FacesContext facesContext, UIComponent component)voidencodeBegin(FacesContext facesContext, UIComponent uiComponent)voidencodeEnd(FacesContext facesContext, UIComponent uiComponent)ObjectgetConvertedValue(FacesContext facesContext, UIComponent component, Object submittedValue)protected ConvertergetConverter(FacesContext facesContext, UIComponent component)Gets the converter for the given component rendered by this renderer.protected StringgetLayout(UISelectMany selectMany)protected booleanisDisabled(FacesContext facesContext, UIComponent component)protected StringrenderCheckbox(FacesContext facesContext, UIComponent uiComponent, String value, boolean disabled, boolean checked, boolean renderId, Integer itemNum)Renders the input itemvoidrenderCheckboxList(FacesContext facesContext, UISelectMany selectMany)protected intrenderGroupOrItemCheckbox(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, boolean useSubmittedValues, Set lookupSet, Converter converter, Boolean usingTable, Integer itemNum)- 
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderergetActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
 - 
Methods inherited from class jakarta.faces.render.RendererconvertClientId, encodeChildren, getRendersChildren
 
- 
 
- 
- 
- 
Method Detail- 
encodeBeginpublic void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException - Overrides:
- encodeBeginin class- Renderer
- Throws:
- IOException
 
 - 
encodeEndpublic void encodeEnd(FacesContext facesContext, UIComponent uiComponent) throws IOException - Overrides:
- encodeEndin class- Renderer
- Throws:
- IOException
 
 - 
renderCheckboxListpublic void renderCheckboxList(FacesContext facesContext, UISelectMany selectMany) throws IOException - Throws:
- IOException
 
 - 
getLayoutprotected String getLayout(UISelectMany selectMany) 
 - 
renderGroupOrItemCheckboxprotected int renderGroupOrItemCheckbox(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, boolean useSubmittedValues, Set lookupSet, Converter converter, Boolean usingTable, Integer itemNum) throws IOException - Throws:
- IOException
 
 - 
renderCheckboxprotected String renderCheckbox(FacesContext facesContext, 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
 
 - 
isDisabledprotected boolean isDisabled(FacesContext facesContext, UIComponent component) 
 - 
decodepublic void decode(FacesContext facesContext, UIComponent component) 
 - 
getConvertedValuepublic Object getConvertedValue(FacesContext facesContext, UIComponent component, Object submittedValue) throws ConverterException - Overrides:
- getConvertedValuein class- Renderer
- Throws:
- ConverterException
 
 - 
getConverterprotected Converter getConverter(FacesContext facesContext, UIComponent component) Gets the converter for the given component rendered by this renderer.- Parameters:
- facesContext-
- component-
- Returns:
 
 
- 
 
-