public class ToggleSwitchRenderer extends InputRenderer
Constructor and Description |
---|
ToggleSwitchRenderer() |
Modifier and Type | Method and 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 |
encodeInput(javax.faces.context.FacesContext context,
ToggleSwitch toggleSwitch,
String clientId,
boolean checked) |
protected void |
encodeMarkup(javax.faces.context.FacesContext context,
ToggleSwitch toggleSwitch) |
protected void |
encodeScript(javax.faces.context.FacesContext context,
ToggleSwitch toggleSwitch) |
protected void |
encodeSlider(javax.faces.context.FacesContext context) |
protected boolean |
isChecked(String value) |
getConvertedValue, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
protected void encodeMarkup(javax.faces.context.FacesContext context, ToggleSwitch toggleSwitch) throws IOException
IOException
protected void encodeSlider(javax.faces.context.FacesContext context) throws IOException
IOException
protected void encodeInput(javax.faces.context.FacesContext context, ToggleSwitch toggleSwitch, String clientId, boolean checked) throws IOException
IOException
protected void encodeScript(javax.faces.context.FacesContext context, ToggleSwitch toggleSwitch) throws IOException
IOException
protected boolean isChecked(String value)
Copyright © 2019. All rights reserved.