public interface UIRadioButtonGroup extends UIAtomicWithEnumeration
The JavaScript type for this widget is a String
corresponding to the selected key value.
If no radio button is selected, the value will be null
.
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 in the layout of the radio buttons.
|
void |
setColumnsNumber(Integer numberOfColumns)
Sets the number of columns to use in the layout of the radio buttons.
|
getSpecificNomenclature, setSpecificNomenclature
getActionOnAfterValueChanged, isAjaxPrevalidationEnabled, isAjaxValueSynchEnabled, setActionOnAfterValueChanged, setAjaxPrevalidationEnabled, setAjaxValueSynchEnabled
isEditorDisabled, setEditorDisabled
Integer getColumnsNumber()
null
if it has not been defined.void setColumnsNumber(int numberOfColumns)
The number of columns must be greater than 0.
numberOfColumns
- the number of columns to use for the radio button groupsetColumnsNumber(Integer)
void setColumnsNumber(Integer numberOfColumns)
The number of columns must be either null
or greater than 0.
If the parameter is null
,
then the component will use its default number of columns.
Default value: null
.
numberOfColumns
- the number of columns to use for the radio button group,
or null
to reset to default.