public class InputSwitchRenderer extends InputRenderer
| Constructor and Description |
|---|
InputSwitchRenderer() |
| 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 |
encodeHandle(javax.faces.context.FacesContext context) |
protected void |
encodeInput(javax.faces.context.FacesContext context,
InputSwitch inputSwitch,
String clientId,
boolean checked,
boolean disabled) |
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 |
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,
InputSwitch inputSwitch)
throws IOException
IOExceptionprotected void encodeOption(javax.faces.context.FacesContext context,
String label,
String styleClass,
boolean showLabels)
throws IOException
IOExceptionprotected void encodeHandle(javax.faces.context.FacesContext context)
throws IOException
IOExceptionprotected void encodeInput(javax.faces.context.FacesContext context,
InputSwitch inputSwitch,
String clientId,
boolean checked,
boolean disabled)
throws IOException
IOExceptionprotected void encodeScript(javax.faces.context.FacesContext context,
InputSwitch inputSwitch)
throws IOException
IOExceptionprotected boolean isChecked(String value)
Copyright © 2018. All rights reserved.