public class HtmlCheckboxRendererBase extends HtmlRenderer
Constructor and Description |
---|
HtmlCheckboxRendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
decode(FacesContext facesContext,
UIComponent component) |
void |
encodeEnd(FacesContext facesContext,
UIComponent uiComponent) |
Object |
getConvertedValue(FacesContext facesContext,
UIComponent component,
Object submittedValue) |
protected Converter |
getConverter(FacesContext facesContext,
UIComponent component)
Gets the converter for the given component rendered by this renderer.
|
protected String |
getLayout(UISelectMany selectMany) |
protected boolean |
isDisabled(FacesContext facesContext,
UIComponent component) |
protected String |
renderCheckbox(FacesContext facesContext,
UIComponent uiComponent,
String value,
boolean disabled,
boolean checked,
boolean renderId,
Integer itemNum)
Renders the input item
|
protected void |
renderCheckbox(FacesContext facesContext,
UIComponent uiComponent,
String value,
String label,
boolean disabled,
boolean checked,
boolean renderId)
Deprecated.
|
void |
renderCheckboxList(FacesContext facesContext,
UISelectMany selectMany) |
protected int |
renderGroupOrItemCheckbox(FacesContext facesContext,
UIComponent uiComponent,
SelectItem selectItem,
boolean useSubmittedValues,
Set lookupSet,
Converter converter,
boolean pageDirectionLayout,
Integer itemNum) |
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
convertClientId, encodeBegin, encodeChildren, getRendersChildren
public void encodeEnd(FacesContext facesContext, UIComponent uiComponent) throws IOException
encodeEnd
in class Renderer
IOException
public void renderCheckboxList(FacesContext facesContext, UISelectMany selectMany) throws IOException
IOException
protected String getLayout(UISelectMany selectMany)
protected int renderGroupOrItemCheckbox(FacesContext facesContext, UIComponent uiComponent, SelectItem selectItem, boolean useSubmittedValues, Set lookupSet, Converter converter, boolean pageDirectionLayout, Integer itemNum) throws IOException
facesContext
- uiComponent
- selectItem
- useSubmittedValues
- lookupSet
- converter
- pageDirectionLayout
- itemNum
- IOException
@Deprecated protected void renderCheckbox(FacesContext facesContext, UIComponent uiComponent, String value, String label, boolean disabled, boolean checked, boolean renderId) throws IOException
IOException
protected String renderCheckbox(FacesContext facesContext, UIComponent uiComponent, String value, boolean disabled, boolean checked, boolean renderId, Integer itemNum) throws IOException
IOException
protected boolean isDisabled(FacesContext facesContext, UIComponent component)
public void decode(FacesContext facesContext, UIComponent component)
public Object getConvertedValue(FacesContext facesContext, UIComponent component, Object submittedValue) throws ConverterException
getConvertedValue
in class Renderer
ConverterException
protected Converter getConverter(FacesContext facesContext, UIComponent component)
facesContext
- component
- Copyright © 2016 The Apache Software Foundation. All Rights Reserved.