Package org.jabusuite.webclient.controls

Examples of org.jabusuite.webclient.controls.JbsExtent


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


        GridLayoutData layoutData = new GridLayoutData();
        layoutData.setAlignment(new Alignment(Alignment.RIGHT, Alignment.CENTER));

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

    @Override
    protected void createColumn() {
        super.createColumn();
       
        Row row1 = new Row();
        row1.setCellSpacing(new JbsExtent(5));

        row1.add(lblKnowledgeText);
        txText.setWidth(new JbsExtent(100, JbsExtent.PERCENT));
        row1.add(txText);

        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

    private static final long serialVersionUID = 5204019710800773851L;
    private static final int STDWIDTH = 700;
    private static final int STDHEIGHT = 550;
    //private PnAddressEdit pnAddressEdit;
    public FmAddressEdit() {
        super(JbsL10N.getString("Address.formTitle"), new JbsExtent(STDWIDTH), new JbsExtent(STDHEIGHT));
    }
View Full Code Here

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

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

    protected void initWizard() {
        this.setLastDirection(JbsWizard.WZDIR_NONE);
        this.setPages(new ArrayList<JbsWizardPage>());
        this.setKeystrokeListener(this.createKeyStrokeListener());
       
        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(50));
       
        this.add(spMain);
        spMain.add(createPnButtons());

        pnMain = new ContainerEx();
View Full Code Here

   
    protected ContentPane createPnButtons() {
        pnButtons = new ContentPane();
        Row mainRow = new Row();
        mainRow.setAlignment(new Alignment(Alignment.RIGHT, Alignment.DEFAULT));
        mainRow.setInsets(new Insets(new JbsExtent(11), new JbsExtent(11)));
       
        btnPrevious = new JbsButton(this.getPreviousCaption());
        btnPrevious.setAlignmentHorizontal(Alignment.CENTER);
        btnPrevious.setWidth(new JbsExtent(80));
        btnPrevious.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                previousPage();
            }
        });
        mainRow.add(btnPrevious);

        btnNext = new JbsButton(this.getNextCaption());
        btnNext.setAlignmentHorizontal(Alignment.CENTER);
        btnNext.setWidth(new JbsExtent(80));
        btnNext.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
View Full Code Here

public class FmTeamEdit extends FmEditJbsBaseObject {

  private static final long serialVersionUID = -1297461024449936844L;
 
  public FmTeamEdit() {
    super(JbsL10N.getString("Team.formTitle"),new JbsExtent(300),new JbsExtent(200));
    this.setPnTeamEdit(new PnTeamEdit());
  }
View Full Code Here

        this.getBtnRemove().setAlignmentHorizontal(Alignment.CENTER);
        this.getColumn().add(row1);
         */
       
        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.jobGroup")));
        grdMain.add(selJobGroup);
        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.job")));
        grdMain.add(txJobName);
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.company")));
        grdMain.add(txCompanyName);
        grdMain.add(new JbsLabel(JbsL10N.getString("JobApplication.place")));
        grdMain.add(txWhere);
        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

    protected void initPanel() {
        pnContent = new ContentPane();
        pnPageTree = new ContentPane();

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_HORIZONTAL, new JbsExtent(175));
        spMain.setSeparatorWidth(new JbsExtent(1, JbsExtent.PX));
        this.add(spMain);

        spMain.add(pnPageTree);
        spMain.add(pnContent);
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.