Package org.jabusuite.webclient.controls

Examples of org.jabusuite.webclient.controls.JbsButton


    }

    protected void createComponents() {
        lbUserGroups = new LbUserGroups();

        btnAdd = new JbsButton("+");
        btnAdd.setWidth(new JbsExtent(20));
        btnAdd.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                addGroup();
            }
        });

        btnDelete = new JbsButton("-");
        btnDelete.setWidth(new JbsExtent(20));
        btnDelete.addActionListener(new ActionListener() {

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


        grdMain.add(this.txDunningCharge);
       
        grdMain.add(new Label(JbsL10N.getString("Dunning.dunningText")));
        grdMain.add(this.txDunningText);
       
        JbsButton btnPrint = new JbsButton("Print");
        btnPrint.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
                printDunning();
            }
        });
        grdMain.add(btnPrint);
View Full Code Here

        this.addColButtons();
    }

    public void addColButtons() {
        Column colButtons = new Column();
        JbsButton btnAdd = new JbsButton("+");
        //btnAdd.setWidth(new JbsExtent(20));
        btnAdd.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

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

                    TableLayoutData sumPayedLayout = new TableLayoutData();
                    sumPayedLayout.setAlignment(Alignment.ALIGN_RIGHT);
                    component.setLayoutData(sumPayedLayout);
                    break;
                case 6:
                    final JbsButton btnShowInvoice = new JbsButton("Ansehen");
                    btnShowInvoice.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent arg0) {
                            FmInvoiceEdit fmInvoiceEdit = new FmInvoiceEdit();
                            fmInvoiceEdit.addActionListener(new ActionListener() {
                                public void actionPerformed(ActionEvent arg0) {
                                    //tblInvoices.mustReload();
View Full Code Here

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

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

        this.setColVitaEntries(parent);
    }

    protected void createControls() {

        btnInsert = new JbsButton("+");
        //TODO: Remove completely when really not used anymore.
        //At the moment it's not used because all datasets are ordered by their dates.
        btnInsert.setVisible(false);
        btnInsert.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                insertRow();
            }
        });

        btnRemove = new JbsButton("-");
        btnRemove.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

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

        pnButtons = new ContentPane();
        Row mainRow = new Row();
        mainRow.setAlignment(new Alignment(Alignment.RIGHT, Alignment.DEFAULT));
        mainRow.setInsets(new Insets(new JbsExtent(11), new JbsExtent(11)));
       
        btnPrevious = new JbsButton(this.getPreviousCaption());
        btnPrevious.setAlignmentHorizontal(Alignment.CENTER);
        btnPrevious.setWidth(new JbsExtent(80));
        btnPrevious.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                previousPage();
            }
        });
        mainRow.add(btnPrevious);

        btnNext = new JbsButton(this.getNextCaption());
        btnNext.setAlignmentHorizontal(Alignment.CENTER);
        btnNext.setWidth(new JbsExtent(80));
        btnNext.addActionListener(new ActionListener() {

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

        spMain.add(pnPageTree);
        spMain.add(pnContent);

        createTree();

        JbsButton btnTest = new JbsButton("Test");
        pnContent.add(btnTest);
        btnTest.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

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

    public ArticlePriceEditor() {
        super(JbsL10N.getString("Article.prices"));
        this.colPrices = new ColPrices();
        this.add(colPrices);
        Column colButtons = new Column();
        JbsButton btnAddPrice = new JbsButton(JbsL10N.getString("Article.addPrice"));
        btnAddPrice.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                colPrices.addPriceRow(new ArticlePrice());
View Full Code Here

    }

    protected void createCompontents() {
        this.txUserName = new JbsTextField();
        this.txPassword = new PasswordField();
        this.btnLogin = new JbsButton(JbsL10N.getString("Login.btnLogin"));
        this.btnLogin.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

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