Class InputSwitchRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- org.primefaces.component.inputswitch.InputSwitchRenderer
-
public class InputSwitchRenderer extends InputRenderer
-
-
Field Summary
-
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
-
-
Constructor Summary
Constructors Constructor Description InputSwitchRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)protected voidencodeHandle(javax.faces.context.FacesContext context)protected voidencodeInput(javax.faces.context.FacesContext context, InputSwitch inputSwitch, String clientId, boolean checked)protected voidencodeMarkup(javax.faces.context.FacesContext context, InputSwitch inputSwitch)protected voidencodeOption(javax.faces.context.FacesContext context, String label, String styleClass, boolean showLabels)protected voidencodeScript(javax.faces.context.FacesContext context, InputSwitch inputSwitch)protected booleanisChecked(String value)-
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, getConvertedValue, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)- Overrides:
decodein classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException- Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, InputSwitch inputSwitch) throws IOException- 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
-
encodeInput
protected void encodeInput(javax.faces.context.FacesContext context, InputSwitch inputSwitch, String clientId, boolean checked) throws IOException- Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, InputSwitch inputSwitch) throws IOException- Throws:
IOException
-
isChecked
protected boolean isChecked(String value)
-
-