Package org.jabusuite.webclient.controls.toolpane

Examples of org.jabusuite.webclient.controls.toolpane.JbsObjectToolPaneButton.addActionListener()


    protected void fillToolpane() {
        super.fillToolpane();
     
        JbsObjectToolPaneButton btnGoogleMaps = new JbsObjectToolPaneButton("globe.png", JbsL10N.getString("Address.showMap"), true);
        btnGoogleMaps.setToolTipText(JbsL10N.getString("Address.showMapTooltip"));
        btnGoogleMaps.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Address address = (Address) getSelectedJbsBaseObject();
                JbsGoogleMapsWindow window = new JbsGoogleMapsWindow();
                window.setAddress(address);
View Full Code Here


    }

    @Override
    protected void fillToolpane() {
        JbsObjectToolPaneButton btnAdd = new JbsObjectToolPaneButton("add.png",JbsL10N.getString("StdList.addCaption"),false);
        btnAdd.addActionListener(new ActionListener() {

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

    protected void fillToolpane() {
       
       
        JbsObjectToolPaneButton btnNewTransaction = new JbsObjectToolPaneButton("offer.png", JbsL10N.getString("Offer.new"), true);
        btnNewTransaction.setToolTipText(JbsL10N.getString("Offer.newTooltip"));
        btnNewTransaction.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Address address = (Address) getSelectedJbsBaseObject();
               
                FmOfferEdit fmOfferEdit = new FmOfferEdit();
View Full Code Here

       
       
       
        JbsObjectToolPaneButton btnNewPayment = new JbsObjectToolPaneButton("invoice.png", JbsL10N.getString("Invoice.new"), true);
        btnNewPayment.setToolTipText(JbsL10N.getString("Invoice.newTooltip"));
        btnNewPayment.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Address address = (Address) getSelectedJbsBaseObject();
                FmInvoiceEdit fmInvoiceEdit = new FmInvoiceEdit();
                fmInvoiceEdit.showForm(address);
View Full Code Here

        });
        this.getToolPane().addControl(JbsL10N.getString(PnListModule.TOOLPANEGROUP_ACTIONS), btnGoogleMaps);

        JbsObjectToolPaneButton btnGoogleRoute = new JbsObjectToolPaneButton("globe.png", JbsL10N.getString("Address.showRoute"), true);
        btnGoogleRoute.setToolTipText(JbsL10N.getString("Address.showRouteTooltip"));
        btnGoogleRoute.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Address startAddress = new Address();

                startAddress.setStreet(ClientGlobals.getCompany().getStreet());
View Full Code Here

        });
        this.getToolPane().addControl(JbsL10N.getString(PnListModule.TOOLPANEGROUP_ACTIONS), btnGoogleRoute);

        JbsObjectToolPaneButton btnGoogle = new JbsObjectToolPaneButton("globe.png", JbsL10N.getString("Address.showGooglePersonInfo"), true);
        btnGoogle.setToolTipText(JbsL10N.getString("Address.showGooglePersonInfoTooltip"));
        btnGoogle.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                Address address = (Address) getSelectedJbsBaseObject();
                JbsGoogleWindow window = new JbsGoogleWindow();
                window.setPerson(address);
View Full Code Here

        });
        this.getToolPane().addControl(JbsL10N.getString(PnListModule.TOOLPANEGROUP_ACTIONS), btnGoogle);
       
        JbsObjectToolPaneButton btnMassLetters = new JbsObjectToolPaneButton("letter.png", JbsL10N.getString("Address.createMassLettersTitle"), false);
        btnMassLetters.setToolTipText(JbsL10N.getString("Address.createMassLettersTooltip"));
        btnMassLetters.addActionListener(new ActionListener() {

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