Package org.jabusuite.webclient.controls

Examples of org.jabusuite.webclient.controls.JbsExtent


   
   
    public JbsWizardPage(JbsWizard wizard, String title) {
        super();
        this.setWizard(wizard);
        this.setInsets(new Insets(new JbsExtent(12)));
        initPage(title);
        drawPage();
    }
View Full Code Here


        colMain.add(lblTitle);
        colMain.add(lblDescription);
       
        Row row = new Row();
        ColumnLayoutData layout = new ColumnLayoutData();
        layout.setHeight(new JbsExtent(25,JbsExtent.PX));
        row.setLayoutData(layout);
        colMain.add(row);
               
        this.add(colMain);
    }
View Full Code Here

    }

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

        GridLayoutData textLayout = new GridLayoutData();
        textLayout.setAlignment(Alignment.ALIGN_TOP);

        Label label1 = new Label(JbsL10N.getString("Transaction.textBefore"));
View Full Code Here

        private static final long serialVersionUID = 1L;

        public ColPrices() {
            super();
            this.setCellSpacing(new JbsExtent(10));
        }
View Full Code Here

    @Override
    protected void createColumn() {
        super.createColumn();
        Row row1= new Row();
        row1.setCellSpacing(new JbsExtent(5));
       
        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setColumnWidth(0, new JbsExtent(40));
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.from")));
        grdMain.add(txFrom);
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.to")));
        grdMain.add(txTo);
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.schoolName")));
        grdMain.add(txSchoolName);
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.city")));
        grdMain.add(txWhere);
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.graduation")));
        grdMain.add(txGraduation);
        row1.add(grdMain);
       
        row1.add(this.getBtnInsert());
        this.getBtnInsert().setWidth(new JbsExtent(20));
        this.getBtnInsert().setAlignmentHorizontal(Alignment.CENTER);
        row1.add(this.getBtnRemove());
        this.getBtnRemove().setWidth(new JbsExtent(20));
        this.getBtnRemove().setAlignmentHorizontal(Alignment.CENTER);
       
        this.getColumn().add(row1);
    }
View Full Code Here

            grdMain.setColumnWidth(5, new JbsExtent(40));
             */
           
            int controlWidth = 60;
            for (int i=1; i<=6; i++)
                grdMain.setColumnWidth(i, new JbsExtent(controlWidth));
           
            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.standard")));
            GridLayoutData ldStandard = new GridLayoutData();
            ldStandard.setColumnSpan(5);
            cbStandard.setLayoutData(ldStandard);
            grdMain.add(cbStandard);

           
            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.name")));
            GridLayoutData ldName = new GridLayoutData();
            ldName.setColumnSpan(5);
            txName.setLayoutData(ldName);
            grdMain.add(txName);
           
            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.costPrice")));
            txCostPrice.setWidth(new JbsExtent(controlWidth));
            txCostPrice.addActionListener(new ActionListener() {

                private static final long serialVersionUID = 1L;

                public void actionPerformed(ActionEvent arg0) {
                    calcSalesPrice();
                }
            });
            grdMain.add(txCostPrice);

            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.surcharge")));
            txSurcharge.setWidth(new JbsExtent(controlWidth));
            txSurcharge.addActionListener(new ActionListener() {

                private static final long serialVersionUID = 1L;

                public void actionPerformed(ActionEvent arg0) {
                    calcSalesPrice();
                }
            });
            grdMain.add(txSurcharge);

            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.salesPrice")));
            txSalesPrice.setWidth(new JbsExtent(controlWidth));
            txSalesPrice.addActionListener(new ActionListener() {

                private static final long serialVersionUID = 1L;

                public void actionPerformed(ActionEvent arg0) {
                    calcSurcharge();
                }
            });
            grdMain.add(txSalesPrice);

            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.vat")));
            selVAT.setWidth(new JbsExtent(controlWidth));
            selVAT.setLayoutData(ldName);
            grdMain.add(selVAT);
           
            grdMain.add(new Label(JbsL10N.getString("ArticlePrice.packingAmount")));
            txPackingAmount.setWidth(new JbsExtent(controlWidth));
            txPackingAmount.setLayoutData(ldName);
            grdMain.add(txPackingAmount);
           
           
            GridLayoutData ldDate = new GridLayoutData();
View Full Code Here

        this.setTransaction(transaction);
        this.setPostOnEnterKey(false);
    }

    public FmTrPositionsEdit(String title, BusinessTransaction transaction) {
        super(title, new JbsExtent(JbsWindow.STDWIDTH), new JbsExtent(JbsWindow.STDHEIGHT));
        this.setTransaction(transaction);
        this.setPostOnEnterKey(false);
    }
View Full Code Here

*/
public class FmContactEdit extends FmEditJbsBaseObject {
    private static final long serialVersionUID = 7457710273185430544L;
   
    public FmContactEdit() {
        super(JbsL10N.getString("Contact.formTitle"), new JbsExtent(STDWIDTH), new JbsExtent(STDHEIGHT));
    }
View Full Code Here

    public FmContactEdit(String title, JbsExtent width, JbsExtent height) {
        super(title, width, height);
    }

    public FmContactEdit(String title) {
        super(title, new JbsExtent(STDWIDTH), new JbsExtent(STDHEIGHT));
    }
View Full Code Here

    protected void initPanel() {
        ContentPane cpStdData = new ContentPane();

        JbsGrid grdMain = new JbsGrid(2);
        grdMain.setInsets(new Insets(5, 5));
        grdMain.setColumnWidth(0, new JbsExtent(150));
       
        grdMain.add(new JbsLabel(JbsL10N.getString("CmsNewsEntry.date")));
        grdMain.add(this.dfNewsDate);
       
        grdMain.add(new JbsLabel(JbsL10N.getString("CmsNewsEntry.headline")));
View Full Code Here

TOP

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

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.