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,
boolean disabled) |
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) |
coerceToModelType, createSelectItem, findImplicitConverter, getConvertedValue, getOptionAsString, getSelectItems, shouldDecodebuildAjaxRequest, buildDomEvent, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId, startScriptpublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
decode in class javax.faces.render.Rendererpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeEnd in class javax.faces.render.RendererIOExceptionprotected void encodeMarkup(javax.faces.context.FacesContext context,
ToggleSwitch toggleSwitch)
throws IOException
IOExceptionprotected void encodeSlider(javax.faces.context.FacesContext context)
throws IOException
IOExceptionprotected void encodeInput(javax.faces.context.FacesContext context,
ToggleSwitch toggleSwitch,
String clientId,
boolean checked,
boolean disabled)
throws IOException
IOExceptionprotected void encodeScript(javax.faces.context.FacesContext context,
ToggleSwitch toggleSwitch)
throws IOException
IOExceptionprotected boolean isChecked(String value)
Copyright © 2018. All rights reserved.