Class InputSwitchRenderer

java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.InputRenderer
org.primefaces.component.inputswitch.InputSwitchRenderer

@Deprecated(since="10.0", forRemoval=true) public class InputSwitchRenderer extends InputRenderer
Deprecated, for removal: This API element is subject to removal in a future version.
in 10.0 use ToggleSwitch
  • Constructor Details

    • InputSwitchRenderer

      public InputSwitchRenderer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • decode

      public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      decode in class javax.faces.render.Renderer
    • encodeEnd

      public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      encodeEnd in class javax.faces.render.Renderer
      Throws:
      IOException
    • encodeMarkup

      protected void encodeMarkup(javax.faces.context.FacesContext context, InputSwitch inputSwitch) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • encodeOption

      protected void encodeOption(javax.faces.context.FacesContext context, String label, String styleClass, boolean showLabels) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • encodeHandle

      protected void encodeHandle(javax.faces.context.FacesContext context) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • encodeInput

      protected void encodeInput(javax.faces.context.FacesContext context, InputSwitch inputSwitch, String clientId, boolean checked) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • encodeScript

      protected void encodeScript(javax.faces.context.FacesContext context, InputSwitch inputSwitch) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      IOException
    • isChecked

      protected boolean isChecked(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.