Examples of CustomFormPanel


Examples of com.structis.fichesst.client.widget.CustomFormPanel

    chantierInfo.setCollapsible(false);
    FormLayout fl_fldstNewFieldset_0 = new FormLayout();
    fl_fldstNewFieldset_0.setLabelWidth(130);
    chantierInfo.setLayout(fl_fldstNewFieldset_0);

    formPanel = new CustomFormPanel();
    formPanel.setLabelWidth(135);

    final TextField<String> chatierName = new CustomTextField<String>();
    chatierName.setName(ChantierModel.NOM);
    chatierName.setFieldLabel(messages.nameChantier());
    chatierName.addListener(Events.OnKeyUp, new Listener<BaseEvent>() {
      @Override
      public void handleEvent(BaseEvent be) {
        if( !formPanel.isValid() ) {
          return;
        }

        isEdit = true;
        bus.fireEvent(new IsEditEvent(isEdit));
      }
    });
    formPanel.add(chatierName);

    prorataTheorique = createIntegerField("Prorata Théorique", true);
    prorataTheorique.setName(ChantierModel.PRORATA_THEORIQUE);
    prorataTheorique.addListener(Events.OnKeyUp, new Listener<BaseEvent>() {
      @Override
      public void handleEvent(BaseEvent be) {
        if( !formPanel2.isValid() ) {
          return;
        }

        saveLayout.setEnabled(true);
        isEdit = true;
        bus.fireEvent(new IsEditEvent(isEdit));
      }
    });

    formPanel2 = new CustomFormPanel();
    formPanel2.setLabelWidth(135);
    formPanel2.add(prorataTheorique);

    chantierInfo.add(formPanel, new FormData("35%"));
    add(chantierInfo);
View Full Code Here

Examples of com.structis.fichesst.client.widget.CustomFormPanel

    int panel3 = (screenwidth * 35)/100;
    this.bus = b;
    this.ficheStId_ = ficheStId;
    this.role = roleModel;
    this.user = utilisateurGrpModel;
    formPanel = new CustomFormPanel();

    LayoutContainer lc1 = new LayoutContainer();
    formPanel.add(lc1);
    TableLayout tablelayout = new TableLayout(3);
    tablelayout.setHeight("100%");
View Full Code Here

Examples of com.structis.fichesst.client.widget.CustomFormPanel

  private static final String ANCHOR_SPEC = "100%";

  private FormPanel formPanel;

  public AddAccomptesForm() {
    formPanel = new CustomFormPanel();
    FormLayout fl_formPanel = new FormLayout();
    fl_formPanel.setLabelWidth(110);
    formPanel.setLayout(fl_formPanel);

    DateField date = new DateField();
View Full Code Here

Examples of com.structis.fichesst.client.widget.CustomFormPanel

    TableLayout layout = new TableLayout(1);
    layout.setWidth("100%");
    setLayout(layout);
    setDefaultBackgroundColor(this);

    formPanel = new CustomFormPanel();
    FormLayout fl_formPanel = new FormLayout();
    fl_formPanel.setLabelWidth(120);
    formPanel.setLayout(fl_formPanel);

    final TextField<String> devis = new CustomTextField<String>();
View Full Code Here

Examples of com.structis.fichesst.client.widget.CustomFormPanel

  layoutContainer_0.add(labelChantier, col1);
  layoutContainer_0.add(labelRefTransfertpp, col2);
  setDefaultBackgroundColor(layoutContainer_0);
  setDefaultBackgroundColor(inforFieldset);
  inforFieldset.add(layoutContainer_0);
  formDetails = new CustomFormPanel();
  formDetails.add(inforFieldset);
  fsTransfertPp = new FieldSet();
  fsTransfertPp.setHeading("TRANSFERTS PP");
  fsTransfertPp.setLayout(new RowLayout(Orientation.VERTICAL));
  LayoutContainer layoutContainer_10 = new LayoutContainer();
View Full Code Here

Examples of com.structis.fichesst.client.widget.CustomFormPanel

  ft2.setWidget(0, 1, inforGrid);

  layoutContainer_13.add(ft2);
  ft2.getCellFormatter().setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP);

  summary = new CustomFormPanel();
  TableLayout tl_summary = new TableLayout(2);
  tl_summary.setBorder(1);
  summary.setLayout(tl_summary);

  TableData td_summary = new TableData();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.