Class SelectOneRadioRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- org.primefaces.renderkit.SelectRenderer
-
- org.primefaces.renderkit.SelectOneRenderer
-
- org.primefaces.component.selectoneradio.SelectOneRadioRenderer
-
public class SelectOneRadioRenderer extends SelectOneRenderer
-
-
Field Summary
-
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
-
-
Constructor Summary
Constructors Constructor Description SelectOneRadioRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeCustomLayout(javax.faces.context.FacesContext context, SelectOneRadio radio)
protected void
encodeCustomLayoutHelper(javax.faces.context.FacesContext context, SelectOneRadio radio, boolean addId)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeGridLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems)
protected void
encodeLineLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems)
protected void
encodeMarkup(javax.faces.context.FacesContext context, SelectOneRadio radio)
protected void
encodeOption(javax.faces.context.FacesContext context, SelectOneRadio radio, javax.faces.model.SelectItem option, String id, String name, javax.faces.convert.Converter converter, boolean selected, boolean disabled)
protected void
encodeOptionInput(javax.faces.context.FacesContext context, SelectOneRadio radio, String id, String name, boolean checked, boolean disabled, String value)
protected void
encodeOptionLabel(javax.faces.context.FacesContext context, SelectOneRadio radio, String containerClientId, javax.faces.model.SelectItem option, boolean disabled)
protected void
encodeOptionOutput(javax.faces.context.FacesContext context, SelectOneRadio radio, boolean selected, boolean disabled)
protected void
encodePageLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems)
protected void
encodeResponsiveLayout(javax.faces.context.FacesContext context, SelectOneRadio radio)
protected void
encodeScript(javax.faces.context.FacesContext context, SelectOneRadio radio)
protected void
encodeSelectItems(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems, String layout)
protected void
encodeTabularLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, String layout)
Object
getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
String
getHighlighter()
boolean
getRendersChildren()
protected String
getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectOne selectOne)
protected boolean
isGrouped()
protected boolean
isSelected(javax.faces.context.FacesContext context, SelectOneRadio radio, javax.faces.model.SelectItem selectItem, String currentValue)
-
Methods inherited from class org.primefaces.renderkit.SelectOneRenderer
decode, findSelectItemByLabel, findSelectItemByValue, getSubmittedValues, getValues
-
Methods inherited from class org.primefaces.renderkit.SelectRenderer
addSelectItem, coerceToModelType, countSelectItems, countSelectItems, createSelectItem, findImplicitConverter, getOptionAsString, getSelectItems, isHideNoSelection, isSelected, isSelectValueEqual, validateSubmittedValues
-
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
getConvertedValue
public Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException
- Overrides:
getConvertedValue
in classInputRenderer
- Throws:
javax.faces.convert.ConverterException
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, SelectOneRadio radio) throws IOException
- Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, SelectOneRadio radio) throws IOException
- Throws:
IOException
-
encodeResponsiveLayout
protected void encodeResponsiveLayout(javax.faces.context.FacesContext context, SelectOneRadio radio) throws IOException
- Throws:
IOException
-
encodeTabularLayout
protected void encodeTabularLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, String layout) throws IOException
- Throws:
IOException
-
encodeSelectItems
protected void encodeSelectItems(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems, String layout) throws IOException
- Throws:
IOException
-
encodeCustomLayout
protected void encodeCustomLayout(javax.faces.context.FacesContext context, SelectOneRadio radio) throws IOException
- Throws:
IOException
-
encodeCustomLayoutHelper
protected void encodeCustomLayoutHelper(javax.faces.context.FacesContext context, SelectOneRadio radio, boolean addId) throws IOException
- Throws:
IOException
-
encodeLineLayout
protected void encodeLineLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems) throws IOException
- Throws:
IOException
-
encodePageLayout
protected void encodePageLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems) throws IOException
- Throws:
IOException
-
encodeGridLayout
protected void encodeGridLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems) throws IOException
- Throws:
IOException
-
encodeOption
protected void encodeOption(javax.faces.context.FacesContext context, SelectOneRadio radio, javax.faces.model.SelectItem option, String id, String name, javax.faces.convert.Converter converter, boolean selected, boolean disabled) throws IOException
- Throws:
IOException
-
encodeOptionInput
protected void encodeOptionInput(javax.faces.context.FacesContext context, SelectOneRadio radio, String id, String name, boolean checked, boolean disabled, String value) throws IOException
- Throws:
IOException
-
encodeOptionLabel
protected void encodeOptionLabel(javax.faces.context.FacesContext context, SelectOneRadio radio, String containerClientId, javax.faces.model.SelectItem option, boolean disabled) throws IOException
- Throws:
IOException
-
encodeOptionOutput
protected void encodeOptionOutput(javax.faces.context.FacesContext context, SelectOneRadio radio, boolean selected, boolean disabled) throws IOException
- Throws:
IOException
-
isSelected
protected boolean isSelected(javax.faces.context.FacesContext context, SelectOneRadio radio, javax.faces.model.SelectItem selectItem, String currentValue)
-
getSubmitParam
protected String getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectOne selectOne)
- Specified by:
getSubmitParam
in classSelectOneRenderer
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
getHighlighter
public String getHighlighter()
- Overrides:
getHighlighter
in classCoreRenderer
-
isGrouped
protected boolean isGrouped()
- Overrides:
isGrouped
in classCoreRenderer
-
-