public interface UIDropDownList extends UIAtomicWithEnumeration
It is generally recommended to use the more advanced combo box.
The JavaScript type for this widget is a String
corresponding to the selected key value.
If the selection is empty (that is, the item [not defined] 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 |
---|---|
Size |
getWidth() |
void |
setWidth(Size width)
Sets the width of the drop-down list.
|
getSpecificNomenclature, setSpecificNomenclature
getActionOnAfterValueChanged, isAjaxPrevalidationEnabled, isAjaxValueSynchEnabled, setActionOnAfterValueChanged, setAjaxPrevalidationEnabled, setAjaxValueSynchEnabled
isEditorDisabled, setEditorDisabled
Size getWidth()
null
if it has not been defined.setWidth(Size)
void setWidth(Size width)
If the width is null
,
it will use the standard width of inputs
defined in the Administration section,
topic Ergonomics and layout.
Default value is null
.
width
- the width to set to the drop-down list,
or null
to reset to default.