public ComboBox buildCombBox() {
        final ComboBox comboBox = SPUIComponentProvider.getComboBox(null, "", null, ValoTheme.COMBOBOX_SMALL, false, "",
                prompt);
        comboBox.setImmediate(true);
        comboBox.setPageLength(7);
        comboBox.setItemCaptionPropertyId(SPUILabelDefinitions.VAR_NAME);
        comboBox.setSizeUndefined();
        if (caption != null) {
            comboBox.setCaption(caption);
        }
        if (id != null) {
            comboBox.setId(id);
        }
        if (valueChangeListener != null) {
            comboBox.addValueChangeListener(valueChangeListener);
        }
        return comboBox;
    }
public ComboBox buildCombBox ( ) { final ComboBox comboBox = SPUIComponentProvider . getComboBox ( null , "" , null , ValoTheme . COMBOBOX_SMALL , false , "" , prompt ) ; comboBox . setImmediate ( true ) ; comboBox . setPageLength ( 7 ) ; comboBox . setItemCaptionPropertyId ( SPUILabelDefinitions . VAR_NAME ) ; comboBox . setSizeUndefined ( ) ; if ( caption != null ) { comboBox . setCaption ( caption ) ; } if ( id != null ) { comboBox . setId ( id ) ; } if ( valueChangeListener != null ) { comboBox . addValueChangeListener ( valueChangeListener ) ; } return comboBox ; }
@return a new ComboBox