public class CheckBoxRenderer extends AbstractHtmlTagRenderer<HtmlCheckBox>
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_PLACEHOLDER, ATTRIBUTE_STYLE, ELEMENT_DIV, ELEMENT_SECTION, ELEMENT_SPAN| Constructor and Description |
|---|
CheckBoxRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeAdditionalTagAttributes(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer,
String currentValue) |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeBeginInnerWrapper(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer) |
protected void |
encodeEndInnerWrapper(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer) |
protected void |
encodeReadonly(HtmlCheckBox htmlComponent,
javax.faces.context.ResponseWriter writer) |
protected void |
encodeTagType(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer) |
Object |
getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object submittedValue) |
protected void |
renderInputStyleClass(HtmlInputComponent component,
javax.faces.context.ResponseWriter writer)
When using
AbstractHtmlTagRenderer input component will be wrapped. |
appendEncodeBegin, createInputClientId, encodeBegin, encodeChildren, encodeEnd, encodeEnd, encodeEndContent, encodeInnerEnd, encodeReadonly, encodeSuperEnd, getEndTextToRender, getHtmlTagName, getRendersChildren, postEncodeInput, renderAdditionalInputAttributes, renderTooltipIfNecessarycreateComponentEventFunction, decodeBehaviors, encodeRecursive, getChildren, getCurrentValue, getFacet, isBehaviorSource, renderBooleanValue, renderEventValue, renderStringValue, renderStringValue, setSubmittedValue, shouldRenderAttribute, shouldWriteIdAttribute, writeIdAttribute, writeIdAttributeIfNecessarypublic void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeBegin in class AbstractHtmlTagRenderer<HtmlCheckBox>IOExceptionprotected void encodeEndInnerWrapper(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws IOException
encodeEndInnerWrapper in class AbstractHtmlTagRenderer<HtmlCheckBox>IOExceptionprotected void encodeBeginInnerWrapper(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws IOException
encodeBeginInnerWrapper in class AbstractHtmlTagRenderer<HtmlCheckBox>IOExceptionprotected void renderInputStyleClass(HtmlInputComponent component, javax.faces.context.ResponseWriter writer) throws IOException
AbstractHtmlTagRendererAbstractHtmlTagRenderer input component will be wrapped. Component style class will be set to
component wrapper. This method renders inner input component bootstrap classes and validation markers.renderInputStyleClass in class AbstractHtmlTagRenderer<HtmlCheckBox>component - the componentwriter - html response writerIOException - thrown by writerpublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
decode in class HtmlBasicRendererpublic Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException
getConvertedValue in class HtmlBasicInputRendererjavax.faces.convert.ConverterExceptionprotected void encodeTagType(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws IOException
encodeTagType in class AbstractHtmlTagRenderer<HtmlCheckBox>IOExceptionprotected void encodeReadonly(HtmlCheckBox htmlComponent, javax.faces.context.ResponseWriter writer) throws IOException
encodeReadonly in class AbstractHtmlTagRenderer<HtmlCheckBox>IOExceptionprotected void encodeAdditionalTagAttributes(javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer,
String currentValue)
throws IOException
encodeAdditionalTagAttributes in class AbstractHtmlTagRenderer<HtmlCheckBox>IOExceptionCopyright © 2019. All rights reserved.