Class LightSwitchRenderer


  • public class LightSwitchRenderer
    extends org.primefaces.renderkit.CoreRenderer
    Renderer for the LightSwitch component.
    Since:
    10.0
    Author:
    Jasper de Vries <[email protected]>
    • Field Summary

      • Fields inherited from class javax.faces.render.Renderer

        PASSTHROUGH_RENDERER_LOCALNAME_KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decode​(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)  
      void encodeEnd​(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)  
      protected void encodeScript​(javax.faces.context.FacesContext context, LightSwitch lightSwitch)  
      • Methods inherited from class org.primefaces.renderkit.CoreRenderer

        buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
      • Methods inherited from class javax.faces.render.Renderer

        convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LightSwitchRenderer

        public LightSwitchRenderer()
    • 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 java.io.IOException
        Overrides:
        encodeEnd in class javax.faces.render.Renderer
        Throws:
        java.io.IOException
      • encodeScript

        protected void encodeScript​(javax.faces.context.FacesContext context,
                                    LightSwitch lightSwitch)
                             throws java.io.IOException
        Throws:
        java.io.IOException