com.hris.common.abstractclasses.AbstractComboBox.java Source code

Java tutorial

Introduction

Here is the source code for com.hris.common.abstractclasses.AbstractComboBox.java

Source

/*
 * 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.hris.common.abstractclasses;

import com.vaadin.ui.ComboBox;
import com.vaadin.ui.themes.ValoTheme;

/**
 *
 * @author jetdario
 */
public abstract class AbstractComboBox extends ComboBox {

    public AbstractComboBox() {
        setWidth("100%");
        addStyleName(ValoTheme.COMBOBOX_SMALL);
        setNullSelectionAllowed(false);
        setImmediate(true);
    }

}