Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.fnc.common.abstractclasses; import com.vaadin.shared.ui.combobox.FilteringMode; import com.vaadin.ui.ComboBox; import com.vaadin.ui.themes.ValoTheme; /** * * @author jetdario */ public abstract class CommonComboBox extends ComboBox { public CommonComboBox() { setWidth("100%"); setNullSelectionAllowed(false); setImmediate(true); addStyleName(ValoTheme.COMBOBOX_SMALL); setFilteringMode(FilteringMode.STARTSWITH); } }