public class CheckboxInputControl extends InputControl
InputControl.DisabledType, InputControl.InputInfo, InputControl.ValueInfo
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
FORMAT_NULL, FORMAT_NULL_ATTRIBUTE, FORMAT_VALUE_STYLES, FORMAT_VALUE_STYLES_ATTRIBUTE, HTML_ATTR_CHECKED, HTML_ATTR_CLASS, HTML_ATTR_DISABLED, HTML_ATTR_ID, HTML_ATTR_STYLE, HTML_ATTR_TYPE, HTML_EXPR_NBSP, HTML_TAG_DIV, HTML_TAG_INPUT, HTML_TAG_LABEL, HTML_TAG_SPAN, HTML_TAG_TABLE, HTML_TAG_TD, HTML_TAG_TR, STYLECLASS_MODIFIED, STYLECLASS_REQUIRED
Constructor and Description |
---|
CheckboxInputControl() |
CheckboxInputControl(String name,
Class<? extends javax.faces.component.html.HtmlSelectBooleanCheckbox> inputComponentClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
createInputComponents(javax.faces.component.UIComponent parent,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
List<javax.faces.component.UIComponent> compList) |
protected Object |
parseInputValue(String value,
InputControl.InputInfo ii) |
void |
renderValue(InputControl.ValueInfo vi,
javax.faces.context.ResponseWriter writer)
Renders the control value without a surrounding tag (Text only)
|
protected void |
updateInputState(List<javax.faces.component.UIComponent> compList,
InputControl.InputInfo ii,
javax.faces.context.FacesContext context,
javax.faces.event.PhaseId phaseId) |
addAttachedObjects, addDataValueStyle, addRemoveDisabledStyle, addRemoveInvalidStyle, addRemoveStyle, addRemoveValueNullStyle, clearSubmittedValue, copyAttribute, copyAttributes, copyAttributes, createInput, escapeHTML, formatInputValue, formatValue, formatValue, getConvertedValue, getFirstInput, getFormatInteger, getFormatOption, getFormatOption, getFormatString, getInputComponent, getInputStyleClass, getInputValue, getLabelForId, getName, hasFormatOption, hasFormatOption, isCreatingComponents, postUpdateModel, renderInput, renderValue, setInputStyleClass, setInputValue, updateAttachedObjects, updateInputState
public static final String NAME
public CheckboxInputControl(String name, Class<? extends javax.faces.component.html.HtmlSelectBooleanCheckbox> inputComponentClass)
public CheckboxInputControl()
public void renderValue(InputControl.ValueInfo vi, javax.faces.context.ResponseWriter writer) throws IOException
InputControl
renderValue
in class InputControl
vi
- the value infowriter
- the output writerIOException
protected void createInputComponents(javax.faces.component.UIComponent parent, InputControl.InputInfo ii, javax.faces.context.FacesContext context, List<javax.faces.component.UIComponent> compList)
createInputComponents
in class InputControl
protected void updateInputState(List<javax.faces.component.UIComponent> compList, InputControl.InputInfo ii, javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)
updateInputState
in class InputControl
protected Object parseInputValue(String value, InputControl.InputInfo ii)
parseInputValue
in class InputControl
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.