com.save.views.AreasView.java Source code

Java tutorial

Introduction

Here is the source code for com.save.views.AreasView.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.save.views;

import com.save.area.AreaUI;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener;
import com.vaadin.ui.VerticalLayout;

/**
 *
 * @author jetdario
 */
public class AreasView extends VerticalLayout implements View {

    AreaUI area = new AreaUI();

    public AreasView() {
        setWidth("80%");
        setHeight("100%");

        addComponent(area);
        setExpandRatio(area, 1);
    }

    @Override
    public void enter(ViewChangeListener.ViewChangeEvent event) {
        //TODO
    }

}