public interface UICheckBoxGroup extends UIAtomicWithEnumeration
Since multiple values can be checked, the underlying field must be an aggregated list.
The JavaScript type for this widget is an Array
of
String
s (String[]
) corresponding to the selected keys.
If no checkbox is selected, the value will be an empty Array
, that is []
.
If an afterValueChanged action
has been set on this widget,
the JavaScript type of the value will be the same.
Modifier and Type | Method and Description |
---|---|
Integer |
getColumnsNumber() |
void |
setColumnsNumber(int numberOfColumns)
Sets the number of columns to use for the layout of the checkboxes.
|
void |
setColumnsNumber(Integer numberOfColumns)
Sets the number of columns to use for the layout of the checkboxes.
|
getSpecificNomenclature, setSpecificNomenclature
getActionOnAfterValueChanged, isAjaxPrevalidationEnabled, isAjaxValueSynchEnabled, setActionOnAfterValueChanged, setAjaxPrevalidationEnabled, setAjaxValueSynchEnabled
isEditorDisabled, setEditorDisabled
Integer getColumnsNumber()
setColumnsNumber(Integer)
void setColumnsNumber(int numberOfColumns)
numberOfColumns
- the number of columns for the layout of checkboxes,
must be greater than zero.setColumnsNumber(Integer)
void setColumnsNumber(Integer numberOfColumns)
If the parameter is null
,
then the component will have its default number of columns.
Default value: null
.
numberOfColumns
- the number of columns for the layout of checkboxes,
or null
to reset to default.