Class SelectOneRadioRenderer

    • Constructor Detail

      • SelectOneRadioRenderer

        public SelectOneRadioRenderer()
    • 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 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
      • 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
      • 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 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