Class SelectOneRadioRenderer


public class SelectOneRadioRenderer extends SelectOneRenderer
  • Constructor Details

    • SelectOneRadioRenderer

      public SelectOneRadioRenderer()
  • Method Details

    • getConvertedValue

      public Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException
      Overrides:
      getConvertedValue in class InputRenderer
      Throws:
      javax.faces.convert.ConverterException
    • encodeEnd

      public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeEnd in class javax.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, String layout) throws IOException
      Throws:
      IOException
    • encodeLegacyTabularLayout

      @Deprecated protected void encodeLegacyTabularLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, String layout) throws IOException
      Deprecated.
      in 13.0.0 remove in 14.0.0
      Throws:
      IOException
    • encodeSelectItems

      @Deprecated protected void encodeSelectItems(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems, String layout) throws IOException
      Deprecated.
      in 13.0.0 remove in 14.0.0
      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

      @Deprecated protected void encodeLineLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems) throws IOException
      Deprecated.
      in 13.0.0 remove in 14.0.0
      Throws:
      IOException
    • encodePageLayout

      @Deprecated protected void encodePageLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems) throws IOException
      Deprecated.
      in 13.0.0 remove in 14.0.0
      Throws:
      IOException
    • encodeGridLayout

      @Deprecated protected void encodeGridLayout(javax.faces.context.FacesContext context, SelectOneRadio radio, List<javax.faces.model.SelectItem> selectItems) throws IOException
      Deprecated.
      in 13.0.0 remove in 14.0.0
      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

      public boolean isSelected(javax.faces.context.FacesContext context, SelectOneRadio radio, int index)
    • getValue

      public String getValue(javax.faces.context.FacesContext context, SelectOneRadio radio, int index)
    • 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 class SelectOneRenderer
    • encodeChildren

      public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeChildren in class javax.faces.render.Renderer
      Throws:
      IOException
    • getRendersChildren

      public boolean getRendersChildren()
      Overrides:
      getRendersChildren in class javax.faces.render.Renderer
    • getHighlighter

      public String getHighlighter()
      Overrides:
      getHighlighter in class CoreRenderer
    • isGrouped

      protected boolean isGrouped()
      Overrides:
      isGrouped in class CoreRenderer