Class HtmlRadioRendererBase
java.lang.Object
jakarta.faces.render.Renderer
org.apache.myfaces.renderkit.html.base.HtmlRenderer
org.apache.myfaces.renderkit.html.base.HtmlRadioRendererBase
- Direct Known Subclasses:
HtmlRadioRenderer
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(FacesContext facesContext, UIComponent uiComponent) void
encodeEnd
(FacesContext facesContext, UIComponent uiComponent) getConvertedValue
(FacesContext facesContext, UIComponent uiComponent, Object submittedValue) protected String
getLayout
(UIComponent selectOne) protected String
getStyleClass
(UISelectOne selectOne) protected boolean
isDisabled
(FacesContext facesContext, UIComponent uiComponent) protected int
renderGroupOrItemRadio
(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, Object currentValue, Converter converter, Boolean usingTable, Integer itemNum) protected int
renderGroupOrItemRadio
(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, Object currentValue, Converter converter, Boolean usingTable, String group, Integer itemNum) Renders the given SelectItem(Group)protected String
renderRadio
(FacesContext facesContext, UIInput uiComponent, String value, boolean disabled, boolean checked, boolean renderId, Integer itemNum) Renders the input itemMethods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
-
Constructor Details
-
HtmlRadioRendererBase
public HtmlRadioRendererBase()
-
-
Method Details
-
encodeEnd
- Overrides:
encodeEnd
in classRenderer
- Throws:
IOException
-
getLayout
-
getStyleClass
-
renderGroupOrItemRadio
protected int renderGroupOrItemRadio(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, Object currentValue, Converter converter, Boolean usingTable, Integer itemNum) throws IOException - Throws:
IOException
-
renderGroupOrItemRadio
protected int renderGroupOrItemRadio(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, Object currentValue, Converter converter, Boolean usingTable, String group, Integer itemNum) throws IOException Renders the given SelectItem(Group)- Returns:
- the itemNum for the next item
- Throws:
IOException
-
renderRadio
protected String renderRadio(FacesContext facesContext, UIInput 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
-
decode
-
getConvertedValue
public Object getConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object submittedValue) throws ConverterException - Overrides:
getConvertedValue
in classRenderer
- Throws:
ConverterException
-