com.webgocommerce.client.view.uihomerv.UIHomerv.java Source code

Java tutorial

Introduction

Here is the source code for com.webgocommerce.client.view.uihomerv.UIHomerv.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.webgocommerce.client.view.uihomerv;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DeckPanel;
import com.google.gwt.user.client.ui.FlowPanel;
import com.webgocommerce.client.view.uirventrada.UIrvEntradaImpl;
import com.webgocommerce.client.view.uisearchaddcliente.UISearchAddClienteImpl;

/**
 *
 * @author SISTEMAS
 */
public class UIHomerv extends Composite {
    private FlowPanel pnlContenedor;
    private DeckPanel container;
    private UIrvEntradaImpl uiVentaDirecta;
    private UISearchAddClienteImpl uiSeachAddCliente;

    public UIHomerv() {
        initComponents();
    }

    private void initComponents() {
        pnlContenedor = new FlowPanel();
        initWidget(pnlContenedor);
        container = new DeckPanel();
        container.setAnimationEnabled(true);
        pnlContenedor.add(container);
        uiVentaDirecta = new UIrvEntradaImpl(this);
        uiSeachAddCliente = new UISearchAddClienteImpl(this);
        //uiSeachAddCliente.formCliente.lstTipoDoc.removeItem(1);
        container.add(uiVentaDirecta);
        container.add(uiSeachAddCliente);
        container.showWidget(0);
    }

    public DeckPanel getContainer() {
        return container;
    }

    public UIrvEntradaImpl getUiVentaDirecta() {
        return uiVentaDirecta;
    }

    public UISearchAddClienteImpl getUiSeachAddCliente() {
        return uiSeachAddCliente;
    }

}