Interface UIListBox
- All Superinterfaces:
UIAtomicWidget,UIAtomicWithEnumeration,UIWidget
Simple HTML list box, with multi-selection.
JavaScript type
The JavaScript type for this widget is an Array of
String (String[]) corresponding to the selected keys.
If no item 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
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
-
getHeight
Size getHeight()- Returns:
- the height of the list box,
or
nullif it is not defined. - See Also:
-
setHeight
Sets the height of the list box.If the height is
null, the height will be automatic, depending to its content.Default value is
null.- Parameters:
height- the height to set to the list box, ornullto reset to default, that is, automatic height.
-
getWidth
Size getWidth()- Returns:
- the width of the list box,
or
nullif it has not been defined. - See Also:
-
setWidth
Sets the width of the list box.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.- Parameters:
width- the width to set to the list box, ornullto reset to default.
-