Package nextapp.echo2.app

Examples of nextapp.echo2.app.Label


    @Override
    protected void initPanel() {
        super.initPanel();
        //this.setParentAddress(null);
        grdMain.add(new Label(JbsL10N.getString("Customer.paymentTerm")));
        grdMain.add(this.sfPaymentTerm);
        this.addPnPermissions(tpMain);
    }
View Full Code Here


        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setInsets(new Insets(5, 5));
        grdMain.setColumnWidth(0, new JbsExtent(150));
       
        grdMain.add(new Label(JbsL10N.getString("Dunning.dunningCharge")));
        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) {
View Full Code Here

        rowMain = new Row();
        rowMain.setAlignment(Alignment.ALIGN_CENTER);
       
        Column colLeft = new Column();
        ResourceImageReference imgGrayDonkey = new ResourceImageReference(Styles.IMAGE_PATH + "openjbs_logo_text.png");       
        Label lbGrayDonkey  = new Label(imgGrayDonkey);
        //rowMain.add(lbGrayDonkey);
        colLeft.add(lbGrayDonkey);
       
        Row rowVersion = new Row();
        rowVersion.setAlignment(Alignment.ALIGN_RIGHT);
        rowVersion.add(new Label("Version 0.91 Beta"));
        colLeft.add(rowVersion);
        rowMain.add(colLeft);
       
        ResourceImageReference imgLineLogin = new ResourceImageReference(Styles.IMAGE_PATH + "line_login.png");       
        Label lbLineLogin  = new Label(imgLineLogin);
        rowMain.add(lbLineLogin);
       
        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setInsets(new Insets(5, 5));

        //Adjust the JbsGrid to have the same width as the image on the left side:
        grdMain.setColumnWidth(0, new JbsExtent(100));
        grdMain.setColumnWidth(1, new JbsExtent(300));

        grdMain.add(new Label(JbsL10N.getString("JbsUser.userName")));
        GridLayoutData JbsGridLayout = new GridLayoutData();
       
        boolean demoUserExists = this.hasDemoUser();
       
        if (demoUserExists)
            txUserName.setText("demo");
        grdMain.add(txUserName);
       
        grdMain.add(new Label(JbsL10N.getString("JbsUser.password")));
        if (demoUserExists)
            txPassword.setText("demo");
        grdMain.add(txPassword);
       
        grdMain.add(btnLogin);
View Full Code Here

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

        grdMain.add(new Label(JbsL10N.getString("ArticleVAT.name")));
        grdMain.add(txName);
        grdMain.add(new Label(JbsL10N.getString("ArticleVAT.value")));
        grdMain.add(txValue);
        grdMain.add(new Label(JbsL10N.getString("ArticleVAT.stdStandard")));
        grdMain.add(cbStdStandard);
        grdMain.add(new Label(JbsL10N.getString("ArticleVAT.stdReduced")));
        grdMain.add(cbStdReduced);

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

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

        grdMain.add(new Label(JbsL10N.getString("Contact.selectContactType")));
        grdMain.add(cbbContactType);
        colMain.add(grdMain);

        this.getPnMain().add(colMain);
    }
View Full Code Here

    this.createCompontents();
    JbsGrid grdMain = new JbsGrid(2);
    grdMain.setInsets(new Insets(5,5));
    grdMain.setColumnWidth(0,new JbsExtent(300));
   
    grdMain.add(new Label(JbsL10N.getString("JbsUser.userName")));
    grdMain.add(txUserName);
    grdMain.add(new Label(JbsL10N.getString("JbsUser.password")));
    grdMain.add(txPassword);

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

        grdSummary = new JbsGrid(2);
        grdSummary.setInsets(new Insets(5, 5));
        grdSummary.setColumnWidth(0, new JbsExtent(300));
   
        grdSummary.add(new Label(JbsL10N.getString("Payments.sumPayed") + ":"));
        lblPaymentSum = new Label();
        lblPaymentSum.setLayoutData(layoutData);
        grdSummary.add(lblPaymentSum);
       
        grdSummary.add(new Label(JbsL10N.getString("Payments.sumInvoice") + ":"));
        lblInvoiceSum = new Label();
        lblInvoiceSum.setLayoutData(layoutData);
        grdSummary.add(lblInvoiceSum);
       
        grdSummary.add(new Label(JbsL10N.getString("Payments.toPay") + ":"));
        lblToPay = new Label();
        lblToPay.setLayoutData(layoutData);
        grdSummary.add(lblToPay);
    }
View Full Code Here

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

        grdMain.add(new Label(JbsL10N.getString("Generic.lastChange")));
        grdMain.add(lblLastChange);
        grdMain.add(new Label(JbsL10N.getString("Article.userNo")));
        grdMain.add(txUserNo);
        grdMain.add(new Label(JbsL10N.getString("Article.matchCode")));
        grdMain.add(txMatchCode);
        grdMain.add(new Label(JbsL10N.getString("Article.alternativeNumber")));
        grdMain.add(txAlternativeNumber);
        grdMain.add(new Label(JbsL10N.getString("Article.gtIn")));
        grdMain.add(txGtIn);
        grdMain.add(new Label(JbsL10N.getString("Article.shortText")));
        grdMain.add(txShortText);
        grdMain.add(new Label(JbsL10N.getString("Article.cataloguePage")));
        grdMain.add(txCataloguePage);
        grdMain.add(new Label(JbsL10N.getString("Article.qtyUnit")));
        grdMain.add(qtyUnit);
        /*
        grdMain.add(new Label(JbsL10N.getString("Article.packingAmount")));
        grdMain.add(txPackingAmount);
         */
        grdMain.add(new Label(JbsL10N.getString("Article.supplier")));
        grdMain.add(sfSupplier);
        /*
        grdMain.add(new Label(JbsL10N.getString("Article.vat")));
        grdMain.add(sfVAT);
         */
        grdMain.add(new Label(JbsL10N.getString("Article.longText")));
        grdMain.add(txLongText);

        /*
        grdMain.add(new Label(JbsL10N.getString("Article.image")));
        grdMain.add(uploadImage);
View Full Code Here

   
    @Override
    protected void createControls() {
        super.createControls();
        this.setTxText(new JbsTextField());
        this.lblKnowledgeText = new Label(JbsL10N.getString("JobApplication.knowledgeText"));
    }
View Full Code Here

    class CrTblContacts implements TableCellRenderer {

        private static final long serialVersionUID = -5623959513895038767L;

        public Component getTableCellRendererComponent(Table table, Object value, int column, int row) {
            Label label;
            if (value != null) {
                label = new Label(value.toString());
            } else {
                label = new Label("");
            }

            if (row % 2 == 0) {
                label.setStyleName("MessageListTable.EvenRowLabel");
            } else {
                label.setStyleName("MessageListTable.OddRowLabel");
            }
            return label;
        }
View Full Code Here

TOP

Related Classes of nextapp.echo2.app.Label

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.