Class InputSwitchRenderer

    • Constructor Detail

      • InputSwitchRenderer

        public InputSwitchRenderer()
    • Method Detail

      • decode

        public void decode​(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
        Overrides:
        decode in class javax.faces.render.Renderer
      • 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
      • encodeOption

        protected void encodeOption​(javax.faces.context.FacesContext context,
                                    String label,
                                    String styleClass,
                                    boolean showLabels)
                             throws IOException
        Throws:
        IOException
      • encodeHandle

        protected void encodeHandle​(javax.faces.context.FacesContext context)
                             throws IOException
        Throws:
        IOException
      • isChecked

        protected boolean isChecked​(String value)