Package nextapp.echo2.app

Examples of nextapp.echo2.app.Column


    protected void initPanel(String msg) {
        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));

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

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


    /* (non-Javadoc)
     * @see org.jabusuite.webclient.dataediting.PnEditJbsObject#initPanel()
     */
    @Override
    protected void initPanel() {
        Column colMain = new Column();
       
        //this.add(tpMain);
       
        ContentPane cpStdData = new ContentPane();
       
        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);
        grdMain.add(new Label(""));
        grdMain.add(this.logoImage);
         */
       
        cpStdData.add(grdMain);

        tpMain.addTabSheet(JbsL10N.getString("Article.formTitle"),cpStdData);
       
        ContentPane cpPrices = new ContentPane();
        cpPrices.add(priceEditor);
        tpMain.addTabSheet(JbsL10N.getString("Article.prices"),cpPrices);
       
        colMain.add(tpMain);
        this.add(colMain);
       
        this.addPnPermissions(tpMain);
    }
View Full Code Here

            payments = new LinkedHashSet<Payment>();
        tblPayments = new TblPayments(payments);
        initToolbar();
        createPnSummary();
       
        Column colMain = new Column();
        colMain.add(tbMain);
        colMain.add(tblPayments);
        colMain.add(grdSummary);
        this.add(colMain);
    }
View Full Code Here

    protected void removeRow() {
        this.getColVitaEntries().removeVitaRow(this);
    }

    protected void createColumn() {
        this.column = new Column();
    }
View Full Code Here

            }
        }
    }

    protected void createTree() {
        Column colTree = new Column();

        CmsPageTree tree = new CmsPageTree();
        tree.addTreeSelectionListener(new TreeSelectionListener() {

            public void valueChanged(TreeSelectionEvent arg0) {
                CmsPageTreeNode node = (CmsPageTreeNode) arg0.getPath().getLastPathComponent();
                if (node.getCmsPage() != null) {
                    logger.debug(node.getCmsPage().getTitle());
                }
            }
        });


        colTree.add(tree);
        pnPageTree.add(colTree);
    }
View Full Code Here

        initPage(title);
        drawPage();
    }
   
    protected void initPage(String title) {
        colMain = new Column();
        lblTitle = new Label();
        lblTitle.setStyleName("WizardTitle");
        lblDescription = new Label();
       
        this.setTitle(title);
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());
            }
        });
        colButtons.add(btnAddPrice);
        this.add(colButtons);
        this.setExpanded(true);
    }
View Full Code Here

            logger.error("Error fetching report-template.", e);
        }
    }

    protected void initPanel() {
        Column colMain = new Column();
        colMain.setCellSpacing(new JbsExtent(8));
        this.add(colMain);

        Column colStdData = new Column();
        colMain.setCellSpacing(new JbsExtent(8));
        colStdData.add(createGrdMain());
        colMain.add(colStdData);
       

        ExpandableSection expSchool = new ExpandableSection(JbsL10N.getString("JobApplication.education"));
        colMain.add(expSchool);
View Full Code Here

        this.createCompontents();
       
        //ClientProperties props = new ClientProperties();
        //String screenWidth = props.getInt(ClientProperties.SCREEN_WIDTH) ;
       
        colMain = new Column();
       
        ContainerEx pnDummy = new ContainerEx();
        pnDummy.setHeight(new JbsExtent(80));
        colMain.add(pnDummy);
       
        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);
View Full Code Here

       
        //textArea = new TextArea();
        //JbsGrid grdText = new JbsGrid(1);
        //grdText.add(textArea);
       
        colText = new Column();
        pnMain.add(colText);
        spMain.add(pnMain);
    }
View Full Code Here

TOP

Related Classes of nextapp.echo2.app.Column

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.