Package org.jabusuite.webclient.controls.container

Examples of org.jabusuite.webclient.controls.container.JbsGrid


    }

    protected void initPanel() {
        this.createComponents();

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

        grdMain.add(new Label(JbsL10N.getString("Permissions.user")));
        grdMain.add(cbbUsers);
        grdMain.add(new Label(JbsL10N.getString("Permissions.read")));
        grdMain.add(cbReadUser);
       
        grdMain.add(new Label(JbsL10N.getString("Permissions.write")));
        grdMain.add(cbWriteUser);

        grdMain.add(new Label(JbsL10N.getString("Permissions.group")));
        grdMain.add(cbbGroups);
        grdMain.add(new Label(JbsL10N.getString("Permissions.read")));
        grdMain.add(cbReadGroup);
        grdMain.add(new Label(JbsL10N.getString("Permissions.write")));
        grdMain.add(cbWriteGroup);

        grdMain.add(new Label(JbsL10N.getString("Permissions.others")));
        grdMain.add(new Label(""));
        grdMain.add(new Label(JbsL10N.getString("Permissions.read")));
        grdMain.add(cbReadOther);
        grdMain.add(new Label(JbsL10N.getString("Permissions.write")));
        grdMain.add(cbWriteOther);
       
        this.add(grdMain);
    }
View Full Code Here


    @Override
    protected void initPanel() {
        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("JbsUser.userName")));
        grdMain.add(txUserName);
        grdMain.add(new Label(JbsL10N.getString("JbsUser.password")));
        grdMain.add(txPassword);
        grdMain.add(new Label(JbsL10N.getString("JbsUser.addInfo")));
        grdMain.add(txAddInfo);
        grdMain.add(new Label(JbsL10N.getString("JbsUser.mainGroup")));
        grdMain.add(cbbMainGroup);

        grdMain.add(new Label(JbsL10N.getString("JbsUser.groupList")));
        grdMain.add(groupEditor);
        if (ClientGlobals.getUser().isRoot()) { //No other person is allowed to set companies for a user
            grdMain.add(new Label(JbsL10N.getString("JbsUser.companyList")));
            grdMain.add(companyEditor);
        }

        grdMain.add(new Label(JbsL10N.getString("JbsUser.contact")));
        grdMain.add(this.contactSelectField);
       
        grdMain.add(new Label(JbsL10N.getString("JbsUser.canChangePassword")));
        grdMain.add(this.cbCanChangePassword);

        grdMain.add(new Label(JbsL10N.getString("JbsUser.startModule")));
        grdMain.add(this.selStartModule);
       
        cpStdData.add(grdMain);
        this.add(cpStdData);
    }
View Full Code Here

    protected void initPanel(JbsUser user) {
        this.createComponents(user);
        this.setModal(true);

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

        grdMain.add(new Label(JbsL10N.getString("JbsCompany.company")));
        grdMain.add(cbbCompanies);

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

    @Override
    protected void initPanel() {
        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("JbsCompany.name1")));
        grdMain.add(txName1);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.name2")));
        grdMain.add(txName2);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.name3")));
        grdMain.add(txName3);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.street")));
        grdMain.add(txStreet);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.zip")));
        grdMain.add(txZip);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.city")));
        grdMain.add(txCity);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.phone")));
        grdMain.add(txPhone);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.fax")));
        grdMain.add(txFax);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.email")));
        grdMain.add(txEmail);
        grdMain.add(new Label(JbsL10N.getString("JbsCompany.website")));
        grdMain.add(txWebsite);

        grdMain.add(new Label(JbsL10N.getString("JbsCompany.logo")));
        grdMain.add(usCompanyLogo);
        grdMain.add(new Label(""));
        grdMain.add(this.logoImage);

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

    @Override
    protected void initPanel() {
        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("JbsUserGroup.groupName")));
        grdMain.add(txGroupName);
        grdMain.add(new Label(JbsL10N.getString("JbsUserGroup.groupDescription")));
        grdMain.add(txGroupDescription);

        cpStdData.add(grdMain);

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

    @Override
    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 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) {
                printDunning();
            }
        });
        grdMain.add(btnPrint);
       
        cpStdData.add(grdMain);
        this.add(cpStdData);
    }
View Full Code Here

    @Override
    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("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

            this.setTexts(this.txText.getLangStrings());
        }
    }

    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 initPanel() {
        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("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

   
   
    @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

TOP

Related Classes of org.jabusuite.webclient.controls.container.JbsGrid

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.