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.hris.employee; import com.hris.employee.grid.EmployeeDataGridProperties; import com.vaadin.data.util.IndexedContainer; import com.vaadin.ui.VerticalLayout; /** * * @author jetdario */ public class EmployeeGridUI extends VerticalLayout { EmployeeDataGridProperties employeeGrid; private int branchId; private int employeeStatusId; public EmployeeGridUI(IndexedContainer container) { setSizeFull(); employeeGrid = new EmployeeDataGridProperties(container); addComponent(employeeGrid); setExpandRatio(employeeGrid, 1); } }