Interface UICheckBoxGroup
- All Superinterfaces:
UIAtomicWidget,UIAtomicWithEnumeration,UIWidget
Group of checkboxes based on an enumeration.
Since multiple values can be checked, the underlying field must be an aggregated list.
JavaScript type
The JavaScript type for this widget is an Array of
Strings (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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetColumnsNumber(int numberOfColumns) Sets the number of columns to use for the layout of the checkboxes.voidsetColumnsNumber(Integer numberOfColumns) Sets the number of columns to use for the layout of the checkboxes.Methods inherited from interface com.orchestranetworks.ui.form.widget.UIAtomicWidget
getActionOnAfterValueChanged, isAjaxPrevalidationEnabled, isAjaxValueSynchEnabled, setActionOnAfterValueChanged, setAjaxPrevalidationEnabled, setAjaxValueSynchEnabledMethods inherited from interface com.orchestranetworks.ui.form.widget.UIAtomicWithEnumeration
getSpecificNomenclature, setSpecificNomenclatureMethods inherited from interface com.orchestranetworks.ui.form.widget.UIWidget
isEditorDisabled, setEditorDisabled
-
Method Details
-
getColumnsNumber
Integer getColumnsNumber()- See Also:
-
setColumnsNumber
void setColumnsNumber(int numberOfColumns) Sets the number of columns to use for the layout of the checkboxes.- Parameters:
numberOfColumns- the number of columns for the layout of checkboxes, must be greater than zero.- See Also:
-
setColumnsNumber
Sets the number of columns to use for the layout of the checkboxes.If the parameter is
null, then the component will have its default number of columns.Default value:
null.- Parameters:
numberOfColumns- the number of columns for the layout of checkboxes, ornullto reset to default.
-