Class SelectBooleanCheckboxRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- org.primefaces.component.selectbooleancheckbox.SelectBooleanCheckboxRenderer
-
public class SelectBooleanCheckboxRenderer extends InputRenderer
-
-
Field Summary
-
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
-
-
Constructor Summary
Constructors Constructor Description SelectBooleanCheckboxRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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, SelectBooleanCheckbox checkbox, String clientId, boolean checked)
protected void
encodeItemLabel(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox, String clientId, boolean disabled)
protected void
encodeMarkup(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox)
protected void
encodeOutput(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox, boolean checked, boolean disabled)
protected void
encodeScript(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox)
Object
getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
String
getHighlighter()
protected boolean
isChecked(String value)
-
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getResourceRequestPath, getResourceURL, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
decode
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
- Overrides:
decode
in classjavax.faces.render.Renderer
-
isChecked
protected boolean isChecked(String value)
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeInput
protected void encodeInput(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox, String clientId, boolean checked) throws IOException
- Throws:
IOException
-
encodeOutput
protected void encodeOutput(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox, boolean checked, boolean disabled) throws IOException
- Throws:
IOException
-
encodeItemLabel
protected void encodeItemLabel(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox, String clientId, boolean disabled) throws IOException
- Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, SelectBooleanCheckbox checkbox) throws IOException
- Throws:
IOException
-
getConvertedValue
public Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) throws javax.faces.convert.ConverterException
- Overrides:
getConvertedValue
in classInputRenderer
- Throws:
javax.faces.convert.ConverterException
-
getHighlighter
public String getHighlighter()
- Overrides:
getHighlighter
in classCoreRenderer
-
-