com.save.client.promodeals.ClientPromoUI.java Source code

Java tutorial

Introduction

Here is the source code for com.save.client.promodeals.ClientPromoUI.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.client.promodeals;

import com.save.client.ClientsDataGridProperties;
import com.save.client.promodeals.PromoUI;
import com.vaadin.ui.HorizontalSplitPanel;

/**
 *
 * @author jetdario
 */
public class ClientPromoUI extends HorizontalSplitPanel {

    public ClientPromoUI() {
        setLocked(true);
        setSplitPosition(300, Unit.PIXELS);

        setFirstComponent(new ClientsDataGridProperties(this, "promo"));
        setSecondComponent(new PromoUI(0));
    }

}