Class SelectManyCheckboxRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.renderkit.InputRenderer
-
- org.primefaces.renderkit.SelectRenderer
-
- org.primefaces.renderkit.SelectManyRenderer
-
- org.primefaces.component.selectmanycheckbox.SelectManyCheckboxRenderer
-
public class SelectManyCheckboxRenderer extends SelectManyRenderer
-
-
Field Summary
-
Fields inherited from class org.primefaces.renderkit.InputRenderer
ARIA_FILTER
-
-
Constructor Summary
Constructors Constructor Description SelectManyCheckboxRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encodeCustomLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeGridLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
protected void
encodeGroupLabel(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, javax.faces.model.SelectItemGroup group)
protected void
encodeLineLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
protected void
encodeMarkup(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
protected void
encodeOption(javax.faces.context.FacesContext context, javax.faces.component.UIInput component, Object values, Object submittedValues, javax.faces.convert.Converter converter, javax.faces.model.SelectItem option, int idx)
protected void
encodeOptionInput(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String id, String name, boolean checked, boolean disabled, String value)
protected void
encodeOptionLabel(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String containerClientId, javax.faces.model.SelectItem option, boolean disabled)
protected void
encodeOptionOutput(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, boolean checked, boolean disabled)
protected void
encodePageLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
protected void
encodeResponsiveLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
protected void
encodeScript(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox)
protected void
encodeSelectItems(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String layout)
protected void
encodeTabularLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String layout)
Object
getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
String
getHighlighter()
protected String
getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectMany selectMany)
protected boolean
isGrouped()
-
Methods inherited from class org.primefaces.renderkit.SelectManyRenderer
decode, getSubmittedValues, getValues
-
Methods inherited from class org.primefaces.renderkit.SelectRenderer
addSelectItem, coerceToModelType, countSelectItems, countSelectItems, createSelectItem, findImplicitConverter, getOptionAsString, getSelectItems, isHideNoSelection, isSelected, isSelectValueEqual, validateSubmittedValues
-
Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, 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, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
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
-
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, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeScript
protected void encodeScript(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeResponsiveLayout
protected void encodeResponsiveLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeTabularLayout
protected void encodeTabularLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String layout) throws IOException
- Throws:
IOException
-
encodeOptionInput
protected void encodeOptionInput(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String id, String name, boolean checked, boolean disabled, String value) throws IOException
- Throws:
IOException
-
encodeOptionLabel
protected void encodeOptionLabel(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String containerClientId, javax.faces.model.SelectItem option, boolean disabled) throws IOException
- Throws:
IOException
-
encodeGroupLabel
protected void encodeGroupLabel(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, javax.faces.model.SelectItemGroup group) throws IOException
- Throws:
IOException
-
encodeOptionOutput
protected void encodeOptionOutput(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, boolean checked, boolean disabled) throws IOException
- Throws:
IOException
-
encodeSelectItems
protected void encodeSelectItems(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox, String layout) throws IOException
- Throws:
IOException
-
encodeLineLayout
protected void encodeLineLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodePageLayout
protected void encodePageLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeGridLayout
protected void encodeGridLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeCustomLayout
protected void encodeCustomLayout(javax.faces.context.FacesContext context, SelectManyCheckbox checkbox) throws IOException
- Throws:
IOException
-
encodeOption
protected void encodeOption(javax.faces.context.FacesContext context, javax.faces.component.UIInput component, Object values, Object submittedValues, javax.faces.convert.Converter converter, javax.faces.model.SelectItem option, int idx) throws IOException
- Throws:
IOException
-
getSubmitParam
protected String getSubmitParam(javax.faces.context.FacesContext context, javax.faces.component.UISelectMany selectMany)
- Specified by:
getSubmitParam
in classSelectManyRenderer
-
getHighlighter
public String getHighlighter()
- Overrides:
getHighlighter
in classCoreRenderer
-
isGrouped
protected boolean isGrouped()
- Overrides:
isGrouped
in classCoreRenderer
-
-