Examples of ComboBoxValModel


Examples of com.openbravo.data.gui.ComboBoxValModel

    public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
        initComponents();
       
        // El modelo de categorias
        m_sentcat = dlSales.getCategoriesList();
        m_CategoryModel = new ComboBoxValModel();          
       
        m_jCboPriceBuy.setModel(new ListQBFModelNumber());
        m_jPriceBuy.addEditorKeys(jKeys);
       
        m_jCboPriceSell.setModel(new ListQBFModelNumber());
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

        m_jtxtName.activate();
       
        try {
            List catlist = m_sentcat.list();
            catlist.add(0, null);
            m_CategoryModel = new ComboBoxValModel(catlist);
            m_jCategory.setModel(m_CategoryModel);
        } catch (BasicException eD) {
            // no hay validacion
        }
    }
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

       
        m_App = oApp;
       
        initComponents();
      
        m_ReasonModel = new ComboBoxValModel();
        m_ReasonModel.add(new PaymentReasonPositive("cashin", AppLocal.getIntString("transpayment.cashin")));
        m_ReasonModel.add(new PaymentReasonNegative("cashout", AppLocal.getIntString("transpayment.cashout")));             
        m_jreason.setModel(m_ReasonModel);
       
        jTotal.addEditorKeys(m_jKeys);
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

        m_cat.addActionListener(new CatalogListener());
        add(m_cat.getComponent(), BorderLayout.SOUTH);

        // El modelo de locales
        m_sentlocations = m_dlSales.getLocationsList();
        m_LocationsModel = new ComboBoxValModel();
       
        m_ReasonModel = new ComboBoxValModel();
        m_ReasonModel.add(MovementReason.IN_PURCHASE);
        m_ReasonModel.add(MovementReason.IN_REFUND);
        m_ReasonModel.add(MovementReason.IN_MOVEMENT);
        m_ReasonModel.add(MovementReason.OUT_SALE);
        m_ReasonModel.add(MovementReason.OUT_REFUND);
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

    }
   
    public void activate() throws BasicException {
        m_cat.loadCatalog();
       
        m_LocationsModel = new ComboBoxValModel(m_sentlocations.list());
        m_jLocation.setModel(m_LocationsModel); // para que lo refresque  
    }
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

        
        DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
       
        // El modelo de locales
        m_sentlocations = dlSales.getLocationsList();
        m_LocationsModel = new ComboBoxValModel();  
    }
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

    }
       
    public void activate() throws BasicException {
        List a = m_sentlocations.list();
        addFirst(a);
        m_LocationsModel = new ComboBoxValModel(a);
        m_LocationsModel.setSelectedFirst();
        m_jLocation.setModel(m_LocationsModel); // refresh model  
    }
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

        // The taxes sentence
        taxsent = dlSales.getTaxList();
            
        // The categories model
        m_sentcat = dlSales.getCategoriesList();
        m_CategoryModel = new ComboBoxValModel();
       
        // The taxes model
        taxcatsent = dlSales.getTaxCategoriesList();
        taxcatmodel = new ComboBoxValModel();

        // The attributes model
        attsent = dlSales.getAttributeSetList();
        attmodel = new ComboBoxValModel();
       
        m_CodetypeModel = new ComboBoxValModel();
        m_CodetypeModel.add(null);
        m_CodetypeModel.add(CodeType.EAN13);
        m_CodetypeModel.add(CodeType.CODE128);
        m_jCodetype.setModel(m_CodetypeModel);
        m_jCodetype.setVisible(false);
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

    public void activate() throws BasicException {
       
        // Load the taxes logic
        taxeslogic = new TaxesLogic(taxsent.list());       
       
        m_CategoryModel = new ComboBoxValModel(m_sentcat.list());
        m_jCategory.setModel(m_CategoryModel);

        taxcatmodel = new ComboBoxValModel(taxcatsent.list());
        m_jTax.setModel(taxcatmodel);

        attmodel = new ComboBoxValModel(attsent.list());
        attmodel.add(0, null);
        m_jAtt.setModel(attmodel);
    }
View Full Code Here

Examples of com.openbravo.data.gui.ComboBoxValModel

        }

        initComponents();
       
        m_sentcat = dlSales.getTaxCustCategoriesList();
        m_CategoryModel = new ComboBoxValModel();
       
        m_Dirty = dirty;
        m_jTaxID.getDocument().addDocumentListener(dirty);
        m_jSearchkey.getDocument().addDocumentListener(dirty);
        m_jName.getDocument().addDocumentListener(dirty);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.