Package org.jabusuite.webclient.controls

Examples of org.jabusuite.webclient.controls.JbsExtent


     * Create your controls here.
     */
    protected void createControls() throws Exception {
        this.setSpMain(new SplitPane());
        this.getSpMain().setOrientation(SplitPane.ORIENTATION_HORIZONTAL_RIGHT_LEFT);
        this.getSpMain().setSeparatorPosition(new JbsExtent(this.STD_TOOLPANEWIDTH,JbsExtent.PX));
        this.getSpMain().setSeparatorWidth(new JbsExtent(1,JbsExtent.PX));
       
        this.setToolPane(this.createToolPane());
    }
View Full Code Here


        this.toolPane = toolPane;
    }
   
    public void setToolPaneVisible(boolean visible) {
        if (visible)
            this.getSpMain().setSeparatorPosition(new JbsExtent(this.STD_TOOLPANEWIDTH,JbsExtent.PX));
        else
            this.getSpMain().setSeparatorPosition(new JbsExtent(0,JbsExtent.PX));
    }
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("JobGroup.name")));
        grdMain.add(this.txName);
       
        cpStdData.add(grdMain);
View Full Code Here

        }
    }

    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"));
View Full Code Here

        GridLayoutData ld3Columns = new GridLayoutData();
        ld3Columns.setColumnSpan(3);

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

        grdMain.add(new Label(JbsL10N.getString("Address.salutation")));
        cbbSalutation.setLayoutData(ld3Columns);
        grdMain.add(cbbSalutation);
View Full Code Here

        //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);
       
        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();
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 Label(JbsL10N.getString("Transaction.address")));
        grdMain.add(sfAddress);
        grdMain.add(new Label(JbsL10N.getString("Transaction.name1")));
        grdMain.add(txName1);
View Full Code Here

   
    private ReportType reportType;
    private ReportType pageReportType;
   
    public FmJbsReportOptions(String reportTypeId) {
        super(JbsL10N.getString("ReportOptions.formTitle"),new JbsExtent(300), new JbsExtent(250));
        try {
            rptTypeManager = (ReportTypesRemote) ClientTools.getRemoteBean(ReportTypesRemote.class);
            this.setReportType(rptTypeManager.findReportType(reportTypeId));
            this.setPageReportType(rptTypeManager.findReportType("page"));
View Full Code Here

class ButtonPanel extends Row {

    private static final long serialVersionUID = 1L;

    public ButtonPanel() {
        setCellSpacing(new JbsExtent(6));
    }
View Full Code Here

       
        this.createComponents();
        this.setGrdMain(new JbsGrid(2));
       
        grdMain.setInsets(new Insets(5, 5));
        grdMain.setColumnWidth(0, new JbsExtent(150));
       
        this.getGrdMain().add(new Label(JbsL10N.getString("ReportOptions.pageTemplate")));
        this.getGrdMain().add(this.getSelPageTemplate());
       
        this.getGrdMain().add(new Label(JbsL10N.getString("ReportOptions.template")));
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.