Package org.jabusuite.webclient.controls

Examples of org.jabusuite.webclient.controls.JbsButton


        pnButtons = new ContentPane();
        Row mainRow = new Row();
        mainRow.setAlignment(new Alignment(Alignment.CENTER, Alignment.DEFAULT));
        mainRow.setInsets(new Insets(new JbsExtent(5), new JbsExtent(5)));

        btnOK = new JbsButton(JbsL10N.getString("Generic.ok"));
        btnOK.setAlignmentHorizontal(Alignment.CENTER);
        btnOK.setWidth(new JbsExtent(80));
        btnOK.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here


        JbsGridLayout.setAlignment(Alignment.ALIGN_RIGHT);
        DirectHtml html = new DirectHtml("<a href=\"http://www.gs-networks.de\" target=\"_blank\" style=\"color: #000000;\">gs-networks</a>");
        html.setLayoutData(JbsGridLayout);
        //grdMain.add(html);
       
        JbsButton btnLogout = new JbsButton("Logout");
        //btnLogout.setStyleName("LogoutButton");
        btnLogout.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                JbsClientApp.getApp().getMainWindow().setContent(new PnLogin(JbsClientApp.getApp().getMainWindow()));
            }
        });
View Full Code Here

   
    @Override
    protected void drawPage() {
        super.drawPage();
       
        btnPrint = new JbsButton(JbsL10N.getString("DunningWizard.btnPrint"));
        btnPrint.addActionListener(new ActionListener() {

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

       
        Row mainRow = new Row();
        mainRow.setAlignment(new Alignment(Alignment.LEFT, Alignment.DEFAULT));
        mainRow.setInsets(new Insets(new JbsExtent(11), new JbsExtent(11)));
       
        btnSelectAll = new JbsButton(JbsL10N.getString("Generic.selectAll"));
        btnSelectAll.setAlignmentHorizontal(Alignment.CENTER);
        //btnSelectAll.setWidth(new JbsExtent(80));
        btnSelectAll.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                for (int i=0; i<getDunningWizard().getMaxDunningLevel(); i++) {
                    TblMInvoicesForDunning model = (TblMInvoicesForDunning)getDunningWizard().getInvoicePanels().get(i).getTblInvoices().getModel();
                    model.selectAll();
                }
            }

        });
        mainRow.add(btnSelectAll);
       
        btnSelectNone = new JbsButton(JbsL10N.getString("Generic.selectNone"));
        btnSelectNone.setAlignmentHorizontal(Alignment.CENTER);
        //btnSelectNone.setWidth(new JbsExtent(80));
        btnSelectNone.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                for (int i=0; i<getDunningWizard().getMaxDunningLevel(); i++) {
                    TblMInvoicesForDunning model = (TblMInvoicesForDunning)getDunningWizard().getInvoicePanels().get(i).getTblInvoices().getModel();
                    model.selectNone();
                }
            }

        });
        mainRow.add(btnSelectNone);
       
        btnSwapSelection = new JbsButton(JbsL10N.getString("Generic.swapSelection"));
        btnSwapSelection.setAlignmentHorizontal(Alignment.CENTER);
        //btnSwapSelection.setWidth(new JbsExtent(80));
        btnSwapSelection.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

TOP

Related Classes of org.jabusuite.webclient.controls.JbsButton

Copyright © 2018 www.massapicom. 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.