Package org.jabusuite.webclient.controls

Examples of org.jabusuite.webclient.controls.JbsLabel


    private static final long serialVersionUID = -5629005881057578711L;
   
    private Column colMain;
   
    public void addInfo(String str) {
        JbsLabel label = new JbsLabel(str);
        colMain.add(label);
    }
View Full Code Here


    @Override
    protected void createComponents() {
        super.createComponents();
        this.selContact=new JbsContactSelectField();
        this.lblContact=new JbsLabel(JbsL10N.getString("Contact.contact"));
    }
View Full Code Here

            public void actionPerformed(ActionEvent arg0) {
                searchData();
            }
        });
         */
        title = new JbsLabel();
    }
View Full Code Here

                                    tableModel.deSelectInvoice(invoice);
                            }
                        });
                        component = checkBox;
                    } else {
                        component = new JbsLabel();
                    }
                    break;
                case 4 :
                    component = super.getTableCellRendererComponent(table, value, column, row);
                    TableLayoutData rightLayout = new TableLayoutData();
                    rightLayout.setAlignment(Alignment.ALIGN_RIGHT);
                    component.setLayoutData(rightLayout);
                    break;
                case 5 :
                    component = super.getTableCellRendererComponent(table, value, column, row);
                    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();
                                }
                            });
                            fmInvoiceEdit.showForm(DlgState.dsEdit, invoice);
                        }
                    });
                    component = btnShowInvoice;
                    break;
                default:
                    JbsLabel label;
                    if (value != null) {
                        label = new JbsLabel(value.toString());
                    } else {
                        label = new JbsLabel("");
                    }
                    component=label;
                    //component = super.getTableCellRendererComponent(table, value, column, row);
                    break;
            }
View Full Code Here

        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setInsets(new Insets(5, 5));
        grdMain.setColumnWidth(0, new JbsExtent(150));
       
        grdMain.add(new JbsLabel(JbsL10N.getString("EmployeeNewsEntry.jobGroup")));
        grdMain.add(this.selJobGroup);

        grdMain.add(new JbsLabel(JbsL10N.getString("EmployeeNewsEntry.priority")));
        grdMain.add(this.txPriority);
       
        grdMain.add(new JbsLabel(JbsL10N.getString("CmsNewsEntry.date")));
        grdMain.add(this.dfNewsDate);
       
        grdMain.add(new JbsLabel(JbsL10N.getString("CmsNewsEntry.headline")));
        grdMain.add(this.txHeadline);
       
        grdMain.add(new JbsLabel(JbsL10N.getString("CmsNewsEntry.longText")));
        grdMain.add(this.txLongText);
       
        cpStdData.add(grdMain);
        this.add(cpStdData);
    }
View Full Code Here

    protected void initPanel() {
        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setInsets(new Insets(5, 5));
        grdMain.setColumnWidth(0, new JbsExtent(300));

        grdMain.add(new JbsLabel(JbsL10N.getString("AccountEntry.entryDate")));
        grdMain.add(txEntryDate);
        grdMain.add(new JbsLabel(JbsL10N.getString("AccountEntry.receiptNumber")));
        grdMain.add(txReceiptNumber);
        grdMain.add(new JbsLabel(JbsL10N.getString("AccountEntry.text")));
        grdMain.add(txText);
        grdMain.add(new JbsLabel(JbsL10N.getString("AccountEntry.amount")));
        grdMain.add(txAmount);
        grdMain.add(new JbsLabel(JbsL10N.getString("AccountEntry.incoming")));
        grdMain.add(cbIncoming);
        grdMain.add(new JbsLabel(JbsL10N.getString("AccountEntry.vat")));
        grdMain.add(txVAT);

        this.add(grdMain);
    }
View Full Code Here

    @Override
    protected void drawPage() {
        super.drawPage();
        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setColumnWidth(0, new JbsExtent(200,JbsExtent.PX));
        grdMain.add(new JbsLabel(JbsL10N.getString("Letter.template")));
        grdMain.add(selLetterTemplate);
       
        this.getColMain().add(grdMain);
    }
View Full Code Here

        this.createComponents();
        this.setModal(true);
       
        Column colMain = new Column();
        colMain.setInsets(new Insets(5,5));
        colMain.add(new JbsLabel(msg));

        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setInsets(new Insets(5, 10));
        grdMain.setColumnWidth(0,new JbsExtent(150));
View Full Code Here

    }

    @Override
    protected void initPage(String title) {
        super.initPage(title);
        lblContactCount = new JbsLabel();
    }
View Full Code Here

    protected void drawPage() {
        super.drawPage();
       
        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setColumnWidth(0, new JbsExtent(200,JbsExtent.PX));
        grdMain.add(new JbsLabel(JbsL10N.getString("MassLetterWizard.selectedContacts")));
        grdMain.add(lblContactCount);
       
        this.getColMain().add(grdMain);
    }
View Full Code Here

TOP

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

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.