• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java DataLogicSales类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.openbravo.pos.forms.DataLogicSales的典型用法代码示例。如果您正苦于以下问题:Java DataLogicSales类的具体用法?Java DataLogicSales怎么用?Java DataLogicSales使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



DataLogicSales类属于com.openbravo.pos.forms包,在下文中一共展示了DataLogicSales类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: ProductFilterSales

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form ProductFilterSales */
public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
    initComponents();
    
    // El modelo de categorias
    m_sentcat = dlSales.getCategoriesList();
    m_CategoryModel = new ComboBoxValModel();           
    
    m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
    m_jPriceBuy.addEditorKeys(jKeys);
    
    m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
    m_jPriceSell.addEditorKeys(jKeys);
    
    m_jtxtName.addEditorKeys(jKeys);
    
    m_jtxtBarCode.addEditorKeys(jKeys);
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:19,代码来源:ProductFilterSales.java


示例2: CategoriesEditor

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form JPanelCategories */
public CategoriesEditor(AppView app, DirtyManager dirty) {
    
    DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
         
    initComponents();
         
    // El modelo de categorias
    m_sentcat = dlSales.getCategoriesList();
    m_CategoryModel = new ComboBoxValModel();
    
    m_sentadd = dlSales.getCatalogCategoryAdd();
    m_sentdel = dlSales.getCatalogCategoryDel();
    
    m_jName.getDocument().addDocumentListener(dirty);
    m_jCategory.addActionListener(dirty);
    m_jImage.addPropertyChangeListener("image", dirty);
    
    writeValueEOF();
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:21,代码来源:CategoriesEditor.java


示例3: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
protected void init() {   
    m_dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
    
    // el panel del filtro
    jproductfilter = new ProductFilter();
    jproductfilter.init(app);

    row = m_dlSales.getProductsRow();

    lpr =  new ListProviderCreator(m_dlSales.getProductCatQBF(), jproductfilter);

    spr = new SaveProvider(
        m_dlSales.getProductCatUpdate(),
        m_dlSales.getProductCatInsert(),
        m_dlSales.getProductCatDelete());
    
    // el panel del editor
    jeditor = new ProductsEditor(m_dlSales, dirty);       
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:20,代码来源:ProductsPanel.java


示例4: getDialog

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/**
 *
 * @param parent
 * @param ticketline
 * @param dlSales
 * @param dlCustomers
 * @param taxeslogic
 * @return
 */
public static ReceiptSplit getDialog(Component parent, String ticketline, DataLogicSales dlSales, DataLogicCustomers dlCustomers, TaxesLogic taxeslogic) {
     
    Window window = getWindow(parent);
    
    ReceiptSplit myreceiptsplit;
    
    if (window instanceof Frame) { 
        myreceiptsplit = new ReceiptSplit((Frame) window);
    } else {
        myreceiptsplit = new ReceiptSplit((Dialog) window);
    }
    
    myreceiptsplit.init(ticketline, dlSales, dlCustomers, taxeslogic);         
    
    return myreceiptsplit;
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:26,代码来源:ReceiptSplit.java


示例5: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/**
     *
     * @param app
     */
    @Override
    public void init(AppView app) {
         
        DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
       
        // El modelo de categorias
        m_sentcat = dlSales.getCategoriesList();
        m_CategoryModel = new ComboBoxValModel();          
         
//        m_jCboName.setModel(new ListQBFModelNumber());
//        m_jCboPriceBuy.setModel(new ListQBFModelNumber());
//        m_jCboPriceSell.setModel(new ListQBFModelNumber());
        m_jCboName.setModel(ListQBFModelNumber.getMandatoryString());
        m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
        m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:21,代码来源:ProductFilter.java


示例6: ProductFilterSales

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form ProductFilterSales
     * @param dlSales
     * @param jKeys */
    public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
        initComponents();

        m_jtxtName.addEditorKeys(jKeys);
        m_jtxtBarCode.addEditorKeys(jKeys);
        
        // El modelo de categorias
        m_sentcat = dlSales.getCategoriesList();
        m_CategoryModel = new ComboBoxValModel();           
        
        m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
        m_jPriceBuy.addEditorKeys(jKeys);
        
        m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
        m_jPriceSell.addEditorKeys(jKeys);
        
// JG July 2014 - added for Stock count
        m_jCboStockUnits.setModel(ListQBFModelNumber.getOverrideMandatoryNumber());
        m_jStockUnits.addEditorKeys(jKeys);                
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:24,代码来源:ProductFilterSales.java


示例7: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/**
 *
 */
@Override
protected void init() {   
    m_dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
    
    // el panel del filtro
    jproductfilter = new ProductFilter();
    jproductfilter.init(app);

    row = m_dlSales.getProductsRow();

    lpr =  new ListProviderCreator(m_dlSales.getProductCatQBF(), jproductfilter);

    spr = new SaveProvider(
        m_dlSales.getProductCatUpdate(),
        m_dlSales.getProductCatInsert(),
        m_dlSales.getProductCatDelete());
    
    // el panel del editor
    jeditor = new ProductsEditor(m_dlSales, dirty);       
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:24,代码来源:PriceImportPanel.java


示例8: TaxEditor

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form taxEditor
 * @param app
 * @param dirty */
public TaxEditor(AppView app, DirtyManager dirty) {
    
    DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
    
    initComponents();
    
    taxcatsent = dlSales.getTaxCategoriesList();
    taxcatmodel = new ComboBoxValModel();        
    
    taxcustcatsent = dlSales.getTaxCustCategoriesList();
    taxcustcatmodel = new ComboBoxValModel();    
    
    taxparentsent = dlSales.getTaxList();
    taxparentmodel = new ComboBoxValModel();    

    m_jName.getDocument().addDocumentListener(dirty);
    m_jTaxCategory.addActionListener(dirty);
    m_jCustTaxCategory.addActionListener(dirty);
    m_jTaxParent.addActionListener(dirty);
    m_jRate.getDocument().addDocumentListener(dirty);
    jCascade.addActionListener(dirty);
    jOrder.getDocument().addDocumentListener(dirty);
    
    writeValueEOF();
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:29,代码来源:TaxEditor.java


示例9: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/**
 *
 */
@Override
protected void init() {   
    m_dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
    
    // el panel del filtro
    jproductfilter = new ProductFilter();
    jproductfilter.init(app);

    row = m_dlSales.getProductsRow();

    lpr =  new ListProviderCreator(m_dlSales.getProductCatQBF(), jproductfilter);

    spr = new SaveProvider(
        m_dlSales.getProductCatUpdate(),
        m_dlSales.getProductCatInsert(),
        m_dlSales.getProductCatDelete());

        
    // el panel del editor
    jeditor = new ProductsEditor(m_dlSales, dirty);       
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:25,代码来源:ProductsPanel.java


示例10: ProductFilterSales

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form ProductFilterSales
     * @param dlSales
     * @param jKeys */
    public ProductFilterSales(DataLogicSales dlSales, JEditorKeys jKeys) {
        initComponents();

        m_jtxtBarCode.addEditorKeys(jKeys);
        m_jtxtName.addEditorKeys(jKeys);
        
        // El modelo de categorias
        m_sentcat = dlSales.getCategoriesList();
        m_CategoryModel = new ComboBoxValModel();           
        
        m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
        m_jPriceBuy.addEditorKeys(jKeys);
        
        m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
        m_jPriceSell.addEditorKeys(jKeys);
        
// JG July 2014 - added for Stock count
        m_jCboStockUnits.setModel(ListQBFModelNumber.getOverrideMandatoryNumber());
        m_jStockUnits.addEditorKeys(jKeys);                
    }
 
开发者ID:sbandur84,项目名称:micro-Blagajna,代码行数:24,代码来源:ProductFilterSales.java


示例11: SimpleReceipt

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form SimpleReceipt */
public SimpleReceipt(String ticketline, DataLogicSales dlSales, DataLogicCustomers dlCustomers, TaxesLogic taxeslogic) {        
    
    initComponents();
    
    // dlSystem.getResourceAsXML("Ticket.Line")
    ticketlines = new JTicketLines(ticketline);
    this.dlCustomers = dlCustomers;
    this.dlSales = dlSales;
    this.taxeslogic = taxeslogic;
    
    jPanel2.add(ticketlines, BorderLayout.CENTER);
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:14,代码来源:SimpleReceipt.java


示例12: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
private void init(String ticketline, DataLogicSales dlSales, DataLogicCustomers dlCustomers, TaxesLogic taxeslogic) {
    
    initComponents();        
    getRootPane().setDefaultButton(m_jButtonOK); 
    
    receiptone = new SimpleReceipt(ticketline, dlSales, dlCustomers, taxeslogic);
    receiptone.setCustomerEnabled(false);
    jPanel5.add(receiptone, BorderLayout.CENTER);
    
    receipttwo = new SimpleReceipt(ticketline, dlSales, dlCustomers, taxeslogic);
    jPanel3.add(receipttwo, BorderLayout.CENTER);
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:13,代码来源:ReceiptSplit.java


示例13: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
public void init(AppView app) {
     
    DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
   
    // El modelo de categorias
    m_sentcat = dlSales.getCategoriesList();
    m_CategoryModel = new ComboBoxValModel();          
     
    m_jCboName.setModel(ListQBFModelNumber.getMandatoryString());
    m_jCboPriceBuy.setModel(ListQBFModelNumber.getMandatoryNumber());
    m_jCboPriceSell.setModel(ListQBFModelNumber.getMandatoryNumber());
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:13,代码来源:ProductFilter.java


示例14: JCatalog

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
public JCatalog(DataLogicSales dlSales, boolean pricevisible, boolean taxesincluded, int width, int height) {
    
    m_dlSales = dlSales;
    this.pricevisible = pricevisible;
    this.taxesincluded = taxesincluded;
    
    initComponents();
    
    m_jListCategories.addListSelectionListener(this);                
    m_jscrollcat.getVerticalScrollBar().setPreferredSize(new Dimension(35, 35));
    
    tnbcat = new ThumbNailBuilder(32, 32, "com/openbravo/images/folder_yellow.png");           
    tnbbutton = new ThumbNailBuilder(width, height, "com/openbravo/images/package.png");
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:15,代码来源:JCatalog.java


示例15: PlacesEditor

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form PlacesEditor */
public PlacesEditor(DataLogicSales dlSales, DirtyManager dirty) {
    initComponents();
    
    m_sentfloor = dlSales.getFloorsList();
    m_FloorModel = new ComboBoxValModel();
    
    m_jName.getDocument().addDocumentListener(dirty);
    m_jFloor.addActionListener(dirty);
    m_jX.getDocument().addDocumentListener(dirty);
    m_jY.getDocument().addDocumentListener(dirty);
    
    writeValueEOF();
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:15,代码来源:PlacesEditor.java


示例16: CustomersView

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form CustomersView */
public CustomersView(AppView app, DirtyManager dirty) {
    
    DataLogicSales dlSales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
    
    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);
    m_jCategory.addActionListener(dirty);
    m_jNotes.getDocument().addDocumentListener(dirty);
    txtMaxdebt.getDocument().addDocumentListener(dirty);
    m_jVisible.addActionListener(dirty);
    
    txtFirstName.getDocument().addDocumentListener(dirty);
    txtLastName.getDocument().addDocumentListener(dirty);
    txtEmail.getDocument().addDocumentListener(dirty);
    txtPhone.getDocument().addDocumentListener(dirty);
    txtPhone2.getDocument().addDocumentListener(dirty);
    txtFax.getDocument().addDocumentListener(dirty);
    
    txtAddress.getDocument().addDocumentListener(dirty);
    txtAddress2.getDocument().addDocumentListener(dirty);
    txtPostal.getDocument().addDocumentListener(dirty);
    txtCity.getDocument().addDocumentListener(dirty);
    txtRegion.getDocument().addDocumentListener(dirty);
    txtCountry.getDocument().addDocumentListener(dirty);
    
    writeValueEOF(); 
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:36,代码来源:CustomersView.java


示例17: init

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
public void init(AppView app) throws BeanFactoryException {

        this.app = app;
        dlcustomers = (DataLogicCustomers) app.getBean("com.openbravo.pos.customers.DataLogicCustomers");
        dlsales = (DataLogicSales) app.getBean("com.openbravo.pos.forms.DataLogicSales");
        dlsystem = (DataLogicSystem) app.getBean("com.openbravo.pos.forms.DataLogicSystem");
        ttp = new TicketParser(app.getDeviceTicket(), dlsystem);
    }
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:9,代码来源:CustomersPayment.java


示例18: showMessage

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
public static ProductInfoExt showMessage(Component parent, DataLogicSales dlSales, int productsType) {

        Window window = getWindow(parent);

        JProductFinder myMsg;
        if (window instanceof Frame) {
            myMsg = new JProductFinder((Frame) window, true);
        } else {
            myMsg = new JProductFinder((Dialog) window, true);
        }
        return myMsg.init(dlSales, productsType);
    }
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:13,代码来源:JProductFinder.java


示例19: getReceiptFinder

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
public static JTicketsFinder getReceiptFinder(Component parent, DataLogicSales dlSales, DataLogicCustomers dlCustomers) {
    Window window = getWindow(parent);
    
    JTicketsFinder myMsg;
    if (window instanceof Frame) { 
        myMsg = new JTicketsFinder((Frame) window, true);
    } else {
        myMsg = new JTicketsFinder((Dialog) window, true);
    }
    myMsg.init(dlSales, dlCustomers);
    myMsg.applyComponentOrientation(parent.getComponentOrientation());
    return myMsg;
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:14,代码来源:JTicketsFinder.java


示例20: StockDiaryEditor

import com.openbravo.pos.forms.DataLogicSales; //导入依赖的package包/类
/** Creates new form StockDiaryEditor */
public StockDiaryEditor(AppView app, DirtyManager dirty) {
    
    m_App = app;
    m_dlSales = (DataLogicSales) m_App.getBean("com.openbravo.pos.forms.DataLogicSales");
    
    initComponents();      
    
    m_cat = new JCatalog(m_dlSales);
    m_cat.getComponent().setPreferredSize(new Dimension(0, 245));
    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);
    m_ReasonModel.add(MovementReason.OUT_BREAK);
    m_ReasonModel.add(MovementReason.OUT_MOVEMENT);        
    m_jreason.setModel(m_ReasonModel);
    
    m_jdate.getDocument().addDocumentListener(dirty);
    m_jreason.addActionListener(dirty);
    m_jLocation.addActionListener(dirty);
    jproduct.getDocument().addDocumentListener(dirty);
    jattributes.getDocument().addDocumentListener(dirty);
    m_junits.getDocument().addDocumentListener(dirty);
    m_jprice.getDocument().addDocumentListener(dirty);
     
    writeValueEOF();
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:38,代码来源:StockDiaryEditor.java



注:本文中的com.openbravo.pos.forms.DataLogicSales类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java IClassHierarchy类代码示例发布时间:2022-05-22
下一篇:
Java EditableWSDLService类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap