Class InputSwitchRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.InputRenderer
org.primefaces.component.inputswitch.InputSwitchRenderer
-
Field Summary
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
encodeHandle
(javax.faces.context.FacesContext context) protected void
encodeInput
(javax.faces.context.FacesContext context, InputSwitch inputSwitch, String clientId, boolean checked) protected void
encodeMarkup
(javax.faces.context.FacesContext context, InputSwitch inputSwitch) protected void
encodeOption
(javax.faces.context.FacesContext context, String label, String styleClass, boolean showLabels) protected void
encodeScript
(javax.faces.context.FacesContext context, InputSwitch inputSwitch) protected boolean
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, getConvertedValue, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, 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, getRendersChildren
-
Constructor Details
-
InputSwitchRenderer
public InputSwitchRenderer()
-
-
Method Details
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decode
in classjavax.faces.render.Renderer
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEnd
in 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
- 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
-