public class CheckboxInputControl extends InputControl
InputControl.ControlInfo, InputControl.FieldValueError, InputControl.ValueInfo
CURRENCY_CODE_ATTRIBUTE, FILE_DATA_COLUMN_ATTRIBUTE, log, MAXVALUE_ATTRIBUTE, MINVALUE_ATTRIBUTE, NO_VALUE, NULL_VALUE, NUMBER_FORMAT_ATTRIBUTE, NUMBER_FRACTION_DIGITS, NUMBER_GROUPSEP_ATTRIBUTE
Constructor and Description |
---|
CheckboxInputControl() |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldValue(String name,
RequestParamProvider request,
Locale locale,
Column column)
this method parses and validates the value of a particular column from the request
|
void |
renderInput(HtmlWriter writer,
InputControl.ControlInfo ci)
this method renders a record value for input
|
void |
renderText(HtmlWriter writer,
InputControl.ValueInfo vi)
this method renders a record value read only
this can be either in a read only form or a table
|
error, error, formatValue, formatValue, getFormatOption, hasFormatOption, internalRenderText, parseValue, printText, useLabelId, validate
public Object getFieldValue(String name, RequestParamProvider request, Locale locale, Column column)
InputControl
getFieldValue
in class InputControl
name
- the name under which the param is stored on the requestrequest
- used to access the request Parameterscolumn
- the column for which the value should bepublic void renderText(HtmlWriter writer, InputControl.ValueInfo vi)
InputControl
renderText
in class InputControl
writer
- the HtmlWriter for html write-outvi
- Object holding the value and meta-information about the valuepublic void renderInput(HtmlWriter writer, InputControl.ControlInfo ci)
InputControl
renderInput
in class InputControl
writer
- the HtmlWriter for html write-outci
- Object holding the value and meta-information about the value and the controlCopyright © 2008–2022 Apache Software Foundation. All rights reserved.