Examples of BtnToolbar


Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    protected final String IMG_DROPDOWN = Styles.IMAGE_PATH + "dropdown.png";

    public JbsMenuButton(String iconFileName) {
        super();

        btnMain = new BtnToolbar(iconFileName);
        mnuMain = new Menu();

        this.setBorder(BorderEx.NONE);
        this.setRolloverBorder(BorderEx.NONE);
        this.setTarget(this.getBtnMain());
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    protected void createControls() {
        this.tbMain = new JbsToolbar();
        this.setInvoices(this.fetchInvoices());
        this.tblInvoices = new TblInvoicesForDunning(this.getInvoices(),false);
        this.btnDoDunning = new BtnToolbar("invoice.png");
        this.btnDoDunning.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                doDunning();
            }
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    @Override
    protected void createComponents() {
        super.createComponents();
        pnPayments = new PnPayments(this);
       
        btnToCreditNote = new BtnToolbar("tocreditnote.png");
        btnToCreditNote.setText(JbsL10N.getString("Transaction.toCreditNote"));
        btnToCreditNote.setToolTipText(JbsL10N.getString("Transaction.toCreditNote"));
        btnToCreditNote.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

        }
    }
   
    protected void initToolbar() {
        tbMain = new JbsToolbar();
        btnAddPayment = new BtnToolbar("add.png");
        btnAddPayment.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                logger.debug("Adding payment");
                addPayment();
                /*
                Payment payment = new Payment();
                payment.setAmount(new Double(10.0));
                payment.setCompany(ClientGlobals.getCompany());
                payment.setOwner(ClientGlobals.getUser());
                payment.setGroup(ClientGlobals.getUser().getMainGroup());
                payment.setTransaction(getPnTransactionEdit().getTransaction());
                payment.setPaymentDate(Calendar.getInstance());
                getInvoice().getPayments().add(payment);
                tblPayments.reload(getInvoice().getPayments());
                 */
            }
        });
       
        tbMain.addButton(btnAddPayment);
       
        btnEditPayment = new BtnToolbar("edit.png");
        btnEditPayment.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                //Payment payment = tblPayments.getSelectedPayment();
                Payment payment = getSelectedPayment();
                editPayment(payment);
            }
        });
       
        tbMain.add(btnEditPayment);
       
        btnDeletePayment = new BtnToolbar("remove.png");
        btnDeletePayment.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Payment payment = getSelectedPayment();
                deletePayment(payment);
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    @Override
    protected void createComponents() {
        super.createComponents();
       
        btnToDeliveryNote = new BtnToolbar("todelivnote.png");
        btnToDeliveryNote.setText(JbsL10N.getString("Transaction.toDeliveryNote"));
        btnToDeliveryNote.setToolTipText(JbsL10N.getString("Transaction.toDeliveryNote"));
        btnToDeliveryNote.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                createDeliveryNote();
            }
        });
       
       
        btnToInvoice = new BtnToolbar("toinvoice.png");
        btnToInvoice.setText(JbsL10N.getString("Transaction.toInvoice"));
        btnToInvoice.setToolTipText(JbsL10N.getString("Transaction.toInvoice"));
        btnToInvoice.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                createInvoice();
            }
        });
       
        btnToWorkOrder = new BtnToolbar("toworkorder.png");
        btnToWorkOrder.setText(JbsL10N.getString("Transaction.toWorkOrder"));
        btnToWorkOrder.setToolTipText(JbsL10N.getString("Transaction.toWorkOrder"));
        btnToWorkOrder.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                createWorkOrder();
            }
        });
       
        btnToOrderConfirmation = new BtnToolbar("toorderconfirmation.png");
        btnToOrderConfirmation.setText(JbsL10N.getString("Transaction.toOrderConfirmation"));
        btnToOrderConfirmation.setToolTipText(JbsL10N.getString("Transaction.toOrderConfirmation"));
        btnToOrderConfirmation.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

     */
    @Override
    protected void createComponents() {
        this.tpMain = new JbsTabbedPane();
        this.tbMain = new JbsToolbar();
        this.btnPrint = new BtnToolbar("print.png");
        this.btnPrint.setText(JbsL10N.getString("Generic.print"));
        this.btnPrint.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    @Override
    protected void fillToolbar() {
        super.fillToolbar();
        if (ClientGlobals.getUser().isRoot()) {
            BtnToolbar btnImportJobs = new BtnToolbar("edit.png");
            btnImportJobs.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    importJobs("/etc/openJBS/berufe.html");
                    reload();
                }
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    @Override
    protected void createComponents() {
        super.createComponents();
       
        btnToDeliveryNote = new BtnToolbar("todelivnote.png");
        btnToDeliveryNote.setText(JbsL10N.getString("Transaction.toDeliveryNote"));
        btnToDeliveryNote.setToolTipText(JbsL10N.getString("Transaction.toDeliveryNote"));
        btnToDeliveryNote.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                createDeliveryNote();
            }
        });
       
       
        btnToInvoice = new BtnToolbar("toinvoice.png");
        btnToInvoice.setText(JbsL10N.getString("Transaction.toInvoice"));
        btnToInvoice.setToolTipText(JbsL10N.getString("Transaction.toInvoice"));
        btnToInvoice.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                createInvoice();
            }
        });
       
        btnToWorkOrder = new BtnToolbar("toworkorder.png");
        btnToWorkOrder.setText(JbsL10N.getString("Transaction.toWorkOrder"));
        btnToWorkOrder.setToolTipText(JbsL10N.getString("Transaction.toWorkOrder"));
        btnToWorkOrder.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

    }

    @Override
    protected void createComponents() {
        super.createComponents();
        btnToInvoice = new BtnToolbar("toinvoice.png");
        btnToInvoice.setText(JbsL10N.getString("Transaction.toInvoice"));
        btnToInvoice.setToolTipText(JbsL10N.getString("Transaction.toInvoice"));
        btnToInvoice.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
View Full Code Here

Examples of org.jabusuite.webclient.controls.toolbar.BtnToolbar

        this.addControls();
    }
   
    protected void createControls() {
        this.setRowMain(new Row());
        this.setBtnSearch(new BtnToolbar("search.png"));
        this.getBtnSearch().addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                searchData();
            }
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.