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, shouldDecode
buildAjaxRequest, 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, startScript
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, InputSwitch inputSwitch) throws IOException
IOException
protected void encodeOption(javax.faces.context.FacesContext context, String label, String styleClass, boolean showLabels) throws IOException
IOException
protected void encodeHandle(javax.faces.context.FacesContext context) throws IOException
IOException
protected void encodeInput(javax.faces.context.FacesContext context, InputSwitch inputSwitch, String clientId, boolean checked, boolean disabled) throws IOException
IOException
protected void encodeScript(javax.faces.context.FacesContext context, InputSwitch inputSwitch) throws IOException
IOException
protected boolean isChecked(String value)
Copyright © 2017. All rights reserved.