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

Java DataLogicCustomers类代码示例

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

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



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

示例1: JTicketsBagTicket

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/** Creates new form JTicketsBagTicket */
public JTicketsBagTicket(AppView app, JPanelTicketEdits panelticket) {
    
    super(app, panelticket);
    m_panelticketedit = panelticket; 
    m_dlSystem = (DataLogicSystem) m_App.getBean("com.openbravo.pos.forms.DataLogicSystem");
    dlCustomers = (DataLogicCustomers) m_App.getBean("com.openbravo.pos.customers.DataLogicCustomers");
    
    // Inicializo la impresora...
    m_TP = new DeviceTicket();
   
    // Inicializo el parser de documentos de ticket
    m_TTP = new TicketParser(m_TP, m_dlSystem); // para visualizar el ticket
    m_TTP2 = new TicketParser(m_App.getDeviceTicket(), m_dlSystem); // para imprimir el ticket
    
    initComponents();
    
    m_TicketsBagTicketBag = new JTicketsBagTicketBag(this);
    
    m_jTicketEditor.addEditorKeys(m_jKeys);
    
    // Este deviceticket solo tiene una impresora, la de pantalla
    m_jPanelTicket.add(m_TP.getDevicePrinter("1").getPrinterComponent(), BorderLayout.CENTER);
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:25,代码来源:JTicketsBagTicket.java


示例2: getDialog

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的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


示例3: JTicketsBagTicket

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/** Creates new form JTicketsBagTicket */
public JTicketsBagTicket(AppView app, JPanelTicketEdits panelticket) {
    
    super(app, panelticket);
    m_panelticketedit = panelticket; 
    m_dlSystem = (DataLogicSystem) m_App.getBean("com.openbravo.pos.forms.DataLogicSystem");
    dlCustomers = (DataLogicCustomers) m_App.getBean("com.openbravo.pos.customers.DataLogicCustomers");
    
    // Inicializo la impresora...
    m_TP = new DeviceTicket();
   
    // Inicializo el parser de documentos de ticket
    m_TTP = new TicketParser(m_TP, null, m_dlSystem); // para visualizar el ticket
    m_TTP2 = new TicketParser(m_App.getDeviceTicket(), app.getDeviceDrawer(), m_dlSystem); // para imprimir el ticket
    
    initComponents();
    
    m_TicketsBagTicketBag = new JTicketsBagTicketBag(this);
    
    m_jTicketEditor.addEditorKeys(m_jKeys);
    
    // Este deviceticket solo tiene una impresora, la de pantalla
    m_jPanelTicket.add(m_TP.getDevicePrinter("1").getPrinterComponent(), BorderLayout.CENTER);
}
 
开发者ID:ZarGate,项目名称:OpenbravoPOS,代码行数:25,代码来源:JTicketsBagTicket.java


示例4: SimpleReceipt

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的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


示例5: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的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


示例6: getReceiptFinder

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的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


示例7: JTicketsBagTicket

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/** Creates new form JTicketsBagTicket
     * @param app
     * @param panelticket */
    public JTicketsBagTicket(AppView app, JPanelTicketEdits panelticket) {
        
        super(app, panelticket);
        m_panelticketedit = panelticket; 
        m_dlSystem = (DataLogicSystem) m_App.getBean("com.openbravo.pos.forms.DataLogicSystem");
        m_dlSales = (DataLogicSales) m_App.getBean("com.openbravo.pos.forms.DataLogicSales");
        dlCustomers = (DataLogicCustomers) m_App.getBean("com.openbravo.pos.customers.DataLogicCustomers");
        
        // Inicializo la impresora...
//JG July 2014 - Thank you Ron Isaacson        m_TP = new DeviceTicket();
        m_TP = new DeviceTicket(app.getProperties());        
   
        // Inicializo el parser de documentos de ticket
        m_TTP = new TicketParser(m_TP, m_dlSystem); // para visualizar el ticket
        m_TTP2 = new TicketParser(m_App.getDeviceTicket(), m_dlSystem); // para imprimir el ticket
        
        initComponents();
        
        m_TicketsBagTicketBag = new JTicketsBagTicketBag(this);
        
        m_jTicketEditor.addEditorKeys(m_jKeys);
        
        // Este deviceticket solo tiene una impresora, la de pantalla
        m_jPanelTicket.add(m_TP.getDevicePrinter("1").getPrinterComponent(), BorderLayout.CENTER);
        
        try {
            taxeslogic = new TaxesLogic(m_dlSales.getTaxList().list());
        } catch (BasicException ex) {
    }
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:34,代码来源:JTicketsBagTicket.java


示例8: SimpleReceipt

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/** Creates new form SimpleReceipt
 * @param ticketline
 * @param dlSales
 * @param taxeslogic
 * @param dlCustomers */
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:gnoopy,项目名称:wifepos,代码行数:18,代码来源:SimpleReceipt.java


示例9: getReceiptFinder

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/**
 *
 * @param parent
 * @param dlSales
 * @param dlCustomers
 * @return
 */
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:gnoopy,项目名称:wifepos,代码行数:21,代码来源:JTicketsFinder.java


示例10: init

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

        m_App = app;
        dlSystem = (DataLogicSystem) m_App.getBean("com.openbravo.pos.forms.DataLogicSystem");
        dlSales = (DataLogicSales) m_App.getBean("com.openbravo.pos.forms.DataLogicSales");
        dlCustomers = (DataLogicCustomers) m_App.getBean("com.openbravo.pos.customers.DataLogicCustomers");

        m_ticketsbag = getJTicketsBag();
        m_jPanelBag.add(m_ticketsbag.getBagComponent(), BorderLayout.LINE_START);
        add(m_ticketsbag.getNullComponent(), "null");

        m_ticketlines = new JTicketLines(dlSystem.getResourceAsXML("Ticket.Line"));
        m_jPanelCentral.add(m_ticketlines, java.awt.BorderLayout.CENTER);

        m_TTP = new TicketParser(m_App.getDeviceTicket(), m_App.getDeviceDrawer(), dlSystem);

        // Los botones configurables...
        m_jbtnconfig = new JPanelButtons("Ticket.Buttons", this);
        m_jButtonsExt.add(m_jbtnconfig);

        // El panel de los productos o de las lineas...        
        catcontainer.add(getSouthComponent(), BorderLayout.CENTER);

        // El modelo de impuestos
        senttax = dlSales.getTaxList();
        senttaxcategories = dlSales.getTaxCategoriesList();

        taxcategoriesmodel = new ComboBoxValModel();

        // ponemos a cero el estado
        stateToZero();

        // inicializamos
        m_oTicket = null;
        m_oTicketExt = null;
    }
 
开发者ID:ZarGate,项目名称:OpenbravoPOS,代码行数:37,代码来源:JPanelTicket.java


示例11: getDialog

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
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:iMartinezMateu,项目名称:openbravo-pos,代码行数:17,代码来源:ReceiptSplit.java


示例12: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
public void init(AppView app) throws BeanFactoryException {
    
    m_App = app;
    dlSystem = (DataLogicSystem) m_App.getBean("com.openbravo.pos.forms.DataLogicSystem");
    dlSales = (DataLogicSales) m_App.getBean("com.openbravo.pos.forms.DataLogicSales");
    dlCustomers = (DataLogicCustomers) m_App.getBean("com.openbravo.pos.customers.DataLogicCustomers");
                
    // borramos el boton de bascula si no hay bascula conectada
    if (!m_App.getDeviceScale().existsScale()) {
        m_jbtnScale.setVisible(false);
    }
    
    m_ticketsbag = getJTicketsBag();
    m_jPanelBag.add(m_ticketsbag.getBagComponent(), BorderLayout.LINE_START);
    add(m_ticketsbag.getNullComponent(), "null");

    m_ticketlines = new JTicketLines(dlSystem.getResourceAsXML("Ticket.Line"));
    m_jPanelCentral.add(m_ticketlines, java.awt.BorderLayout.CENTER);
    
    m_TTP = new TicketParser(m_App.getDeviceTicket(), dlSystem);
           
    // Los botones configurables...
    m_jbtnconfig = new JPanelButtons("Ticket.Buttons", this);
    m_jButtonsExt.add(m_jbtnconfig);           
   
    // El panel de los productos o de las lineas...        
    catcontainer.add(getSouthComponent(), BorderLayout.CENTER);
    
    // El modelo de impuestos
    senttax = dlSales.getTaxList();
    senttaxcategories = dlSales.getTaxCategoriesList();
    
    taxcategoriesmodel = new ComboBoxValModel();    
          
    // ponemos a cero el estado
    stateToZero();  
    
    // inicializamos
    m_oTicket = null;
    m_oTicketExt = null;      
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:42,代码来源:JPanelTicket.java


示例13: JTicketsBagRestaurantRes

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/** Creates new form JPanelReservations */
public JTicketsBagRestaurantRes(AppView oApp, JTicketsBagRestaurantMap restaurantmap) {
    
    m_restaurantmap = restaurantmap;
    
    dlCustomers = (DataLogicCustomers) oApp.getBean("com.openbravo.pos.customers.DataLogicCustomers");

    m_dcurrentday = null;
    
    initComponents();
    
    m_datepanel = new JCalendarPanel();
    jPanelDate.add(m_datepanel, BorderLayout.CENTER);
    m_datepanel.addPropertyChangeListener("Date", new DateChangeCalendarListener());
    
    m_timepanel = new JTimePanel(null, JTimePanel.BUTTONS_HOUR);
    m_timepanel.setPeriod(3600000L); // Los milisegundos que tiene una hora.
    jPanelTime.add(m_timepanel, BorderLayout.CENTER);
    m_timepanel.addPropertyChangeListener("Date", new DateChangeTimeListener());
    
    m_timereservation = new JTimePanel(null, JTimePanel.BUTTONS_MINUTE);
    m_jPanelTime.add(m_timereservation, BorderLayout.CENTER);   
        
    txtCustomer.addEditorKeys(m_jKeys);
    m_jtxtChairs.addEditorKeys(m_jKeys);
    m_jtxtDescription.addEditorKeys(m_jKeys);

    m_Dirty = new DirtyManager();
    m_timereservation.addPropertyChangeListener("Date", m_Dirty);
    txtCustomer.addPropertyChangeListener("Text", m_Dirty);
    txtCustomer.addPropertyChangeListener("Text", new PropertyChangeListener(){
        public void propertyChange(PropertyChangeEvent evt) {
            customer = new CustomerInfo(null);
            customer.setTaxid(null);
            customer.setSearchkey(null);
            customer.setName(txtCustomer.getText());            
        }
    });
    m_jtxtChairs.addPropertyChangeListener("Text", m_Dirty);
    m_jtxtDescription.addPropertyChangeListener("Text", m_Dirty);
    
    writeValueEOF();
    
    ListProvider lpr = new ListProviderCreator(dlCustomers.getReservationsList(), new MyDateFilter());            
    SaveProvider spr = new SaveProvider(dlCustomers.getReservationsUpdate(), dlCustomers.getReservationsInsert(), dlCustomers.getReservationsDelete());        
    
    m_bd = new BrowsableEditableData(lpr, spr, new CompareReservations(), this, m_Dirty);           
    
    JListNavigator nl = new JListNavigator(m_bd, true);
    nl.setCellRenderer(new JCalendarItemRenderer());  
    m_jPanelList.add(nl, BorderLayout.CENTER);
    
    // La Toolbar
    m_jToolbar.add(new JLabelDirty(m_Dirty));
    m_jToolbar.add(new JCounter(m_bd));
    m_jToolbar.add(new JNavigator(m_bd));
    m_jToolbar.add(new JSaver(m_bd));       
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:59,代码来源:JTicketsBagRestaurantRes.java


示例14: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
private void init(DataLogicSales dlSales, DataLogicCustomers dlCustomers) {
    
    this.dlSales = dlSales;
    this.dlCustomers = dlCustomers;
    
    initComponents();

    jScrollPane1.getVerticalScrollBar().setPreferredSize(new Dimension(35, 35));

    jtxtTicketID.addEditorKeys(m_jKeys);
    jtxtMoney.addEditorKeys(m_jKeys);
    
    //jtxtTicketID.activate();
    lpr = new ListProviderCreator(dlSales.getTicketsList(), this);

    jListTickets.setCellRenderer(new FindTicketsRenderer());

    getRootPane().setDefaultButton(jcmdOK);
    
    initCombos();
    
    defaultValues();

    selectedTicket = null;
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:26,代码来源:JTicketsFinder.java


示例15: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
public void init(AppView app) {
    dlCustomers = (DataLogicCustomers) app.getBean("com.openbravo.pos.customers.DataLogicCustomers");
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:4,代码来源:JParamsCustomer.java


示例16: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/**
     *
     * @param app
     * @throws BeanFactoryException
     */
    @Override
    public void init(AppView app) throws BeanFactoryException {
       
        m_App = app;
        restDB = new  RestaurantDBUtils(m_App);
       
        dlSystem = (DataLogicSystem) m_App.getBean("com.openbravo.pos.forms.DataLogicSystem");
        dlSales = (DataLogicSales) m_App.getBean("com.openbravo.pos.forms.DataLogicSales");
        dlCustomers = (DataLogicCustomers) m_App.getBean("com.openbravo.pos.customers.DataLogicCustomers");
        dlReceipts = (DataLogicReceipts) app.getBean("com.openbravo.pos.sales.DataLogicReceipts");
                    
        // borramos el boton de bascula si no hay bascula conectada
        if (!m_App.getDeviceScale().existsScale()) {
            m_jbtnScale.setVisible(false);
        }
//      JG 19 Feb 14 unnecessary parse - if (Boolean.valueOf(m_App.getProperties().getProperty("till.amountattop")).booleanValue()){
        if (Boolean.valueOf(m_App.getProperties().getProperty("till.amountattop"))){
            m_jPanEntries.remove(jPanel9);
            m_jPanEntries.remove(m_jNumberKeys);        
            m_jPanEntries.add(jPanel9);
            m_jPanEntries.add(m_jNumberKeys);
        }        
 
//      JG 19 Feb 14 unnecessary parse -  jbtnMooring.setVisible(Boolean.valueOf(m_App.getProperties().getProperty("till.marineoption")).booleanValue());
        jbtnMooring.setVisible(Boolean.valueOf(m_App.getProperties().getProperty("till.marineoption")));

        priceWith00 = ("true".equals(m_App.getProperties().getProperty("till.pricewith00")));
        if (priceWith00) {
            // use '00' instead of '.'
            m_jNumberKeys.dotIs00(true);
        }
           
        m_ticketsbag = getJTicketsBag();

        m_jPanelBag.add(m_ticketsbag.getBagComponent(), BorderLayout.LINE_START);
        add(m_ticketsbag.getNullComponent(), "null");
        
        m_ticketlines = new JTicketLines(dlSystem.getResourceAsXML("Ticket.Line"));
        m_jPanelCentral.add(m_ticketlines, java.awt.BorderLayout.CENTER);
        
        m_TTP = new TicketParser(m_App.getDeviceTicket(), dlSystem);
               
        // Los botones configurables...
        m_jbtnconfig = new JPanelButtons("Ticket.Buttons", this);
        m_jButtonsExt.add(m_jbtnconfig);           
       
        // El panel de los productos o de las lineas...        
        catcontainer.add(getSouthComponent(), BorderLayout.CENTER);
        
        // El modelo de impuestos
        senttax = dlSales.getTaxList();
        senttaxcategories = dlSales.getTaxCategoriesList();
        
        taxcategoriesmodel = new ComboBoxValModel();    
              
        // ponemos a cero el estado
        stateToZero();  
        
        // inicializamos
        m_oTicket = null;
        m_oTicketExt = null;      
        
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:69,代码来源:JPanelTicket.java


示例17: JTicketsBagRestaurantRes

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/** Creates new form JPanelReservations
 * @param oApp
 * @param restaurantmap */
public JTicketsBagRestaurantRes(AppView oApp, JTicketsBagRestaurantMap restaurantmap) {
    
    m_restaurantmap = restaurantmap;
    
    dlCustomers = (DataLogicCustomers) oApp.getBean("com.openbravo.pos.customers.DataLogicCustomers");

    m_dcurrentday = null;
    
    initComponents();
    
    m_datepanel = new JCalendarPanel();
    jPanelDate.add(m_datepanel, BorderLayout.CENTER);
    m_datepanel.addPropertyChangeListener("Date", new DateChangeCalendarListener());
    
    m_timepanel = new JTimePanel(null, JTimePanel.BUTTONS_HOUR);
    m_timepanel.setPeriod(3600000L); // Los milisegundos que tiene una hora.
    jPanelTime.add(m_timepanel, BorderLayout.CENTER);
    m_timepanel.addPropertyChangeListener("Date", new DateChangeTimeListener());
    
    m_timereservation = new JTimePanel(null, JTimePanel.BUTTONS_MINUTE);
    m_jPanelTime.add(m_timereservation, BorderLayout.CENTER);   
        
    txtCustomer.addEditorKeys(m_jKeys);
    m_jtxtChairs.addEditorKeys(m_jKeys);
    m_jtxtDescription.addEditorKeys(m_jKeys);

    m_Dirty = new DirtyManager();
    m_timereservation.addPropertyChangeListener("Date", m_Dirty);
    txtCustomer.addPropertyChangeListener("Text", m_Dirty);
    txtCustomer.addPropertyChangeListener("Text", new PropertyChangeListener(){
        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            customer = new CustomerInfo(null);
            customer.setTaxid(null);
            customer.setSearchkey(null);
            customer.setName(txtCustomer.getText());            
        }
    });
    m_jtxtChairs.addPropertyChangeListener("Text", m_Dirty);
    m_jtxtDescription.addPropertyChangeListener("Text", m_Dirty);
    
    writeValueEOF();
    
    ListProvider lpr = new ListProviderCreator(dlCustomers.getReservationsList(), new MyDateFilter());            
    SaveProvider spr = new SaveProvider(dlCustomers.getReservationsUpdate(), dlCustomers.getReservationsInsert(), dlCustomers.getReservationsDelete());        
    
    m_bd = new BrowsableEditableData(lpr, spr, new CompareReservations(), this, m_Dirty);           
    
    JListNavigator nl = new JListNavigator(m_bd, true);
    nl.setCellRenderer(new JCalendarItemRenderer());  
    m_jPanelList.add(nl, BorderLayout.CENTER);
    
    // La Toolbar
    m_jToolbar.add(new JLabelDirty(m_Dirty));
    m_jToolbar.add(new JCounter(m_bd));
    m_jToolbar.add(new JNavigator(m_bd));
    m_jToolbar.add(new JSaver(m_bd));       
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:62,代码来源:JTicketsBagRestaurantRes.java


示例18: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
private void init(DataLogicSales dlSales, DataLogicCustomers dlCustomers) {
    
    this.dlSales = dlSales;
    this.dlCustomers = dlCustomers;
    
    initComponents();

    jScrollPane1.getVerticalScrollBar().setPreferredSize(new Dimension(35, 35));

    jtxtTicketID.addEditorKeys(m_jKeys);
    jtxtMoney.addEditorKeys(m_jKeys);


    //jtxtTicketID.activate();
    lpr = new ListProviderCreator(dlSales.getTicketsList(), this);

    jListTickets.setCellRenderer(new FindTicketsRenderer());

    getRootPane().setDefaultButton(jcmdOK);
    
    initCombos();
    
    defaultValues();

    selectedTicket = null;
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:27,代码来源:JTicketsFinder.java


示例19: init

import com.openbravo.pos.customers.DataLogicCustomers; //导入依赖的package包/类
/**
 *
 * @param app
 */
@Override
public void init(AppView app) {
    dlCustomers = (DataLogicCustomers) app.getBean("com.openbravo.pos.customers.DataLogicCustomers");
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:9,代码来源:JParamsCustomer.java



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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