Package com.extjs.gxt.ui.client.widget.layout

Examples of com.extjs.gxt.ui.client.widget.layout.RowLayout


    setInitialWidth(WINDOW_WIDTH);
    setHeight(WINDOW_HEIGTH);
    setMaximizable(true);
    setTitleCollapse(true);
    setHeading("Gesti\u00F3n de Perfiles");
    setLayout(new RowLayout(Orientation.VERTICAL));
  }
View Full Code Here


    leftPanel.add(new HTML("<br>"));
    leftPanel.add(fldstNewFieldset_1);
    TableData layoutData9 = new TableData();
    layoutData9.setWidth(COLUMNS_WIDTH_3[1]);
    setLayout(new RowLayout(Orientation.VERTICAL));
    add(avancementsFieldSet);

    setDefaultBackgroundColor(avancementsFieldSet);

    LayoutContainer layoutContainer_3 = new LayoutContainer();
View Full Code Here

    FieldSet conditionFieldSet = new FieldSet();
    conditionFieldSet.setWidth(panel1);
    TableData layoutData = new TableData();
    layoutData.setVerticalAlign(VerticalAlignment.MIDDLE);
    layoutData.setWidth(COLUMNS_WIDTH[0]);
    conditionFieldSet.setLayout(new RowLayout(Orientation.VERTICAL));

    LayoutContainer layoutContainer_4 = new LayoutContainer();
    FormLayout fl_layoutContainer_4 = new FormLayout();
    fl_layoutContainer_4.setLabelWidth(180);
    layoutContainer_4.setLayout(fl_layoutContainer_4);

    initPaymentData();
    layoutContainer_4.add(payment, new FormData(ANCHOR_SPEC_1));

    NumberField rg = createNumberField(messages.rg());
    rg.setName(FicheStDto.RG);
    rg.setMinValue(0);
    rg.setMaxValue(100);
    rg.setId("INFORMATIONAL_PANEL_RG_ID");
    layoutContainer_4.add(rg, new FormData("70%"));

    initDecennaleNecessaireData();
    layoutContainer_4.add(decennaleNecessaire, new FormData(ANCHOR_SPEC_1));

    initDemandeDagrementData();
    layoutContainer_4.add(demandeDagrement, new FormData(ANCHOR_SPEC_1));
    conditionFieldSet.add(layoutContainer_4);

    HTML newLine = new HTML("<br>", true);
    conditionFieldSet.add(newLine);

    LayoutContainer layoutContainer_6 = new LayoutContainer();
    TableLayout tl3 = new TableLayout(3);
    tl3.setWidth("90%");
    layoutContainer_6.setLayout(tl3);

    LayoutContainer layoutContainer_5 = new LayoutContainer();
    FormLayout fl_layoutContainer_5 = new FormLayout();
    fl_layoutContainer_5.setLabelWidth(110);
    layoutContainer_5.setLayout(fl_layoutContainer_5);

    initDgdPresenteData();
    layoutContainer_5.add(dgdPresente, new FormData("65%"));
    dgdPresente.setWidth(50);
    layoutContainer_6.add(layoutContainer_5);

    HTML space4 = new HTML(SPACES_3);
    layoutContainer_6.add(space4);

    LayoutContainer layoutContainer_7 = new LayoutContainer();
    FormLayout fl_layoutContainer_7 = new FormLayout();
    fl_layoutContainer_7.setLabelWidth(50);
    layoutContainer_7.setLayout(fl_layoutContainer_7);
    DateField dgdPresenteDate = new DateField();
    dgdPresenteDate.setId("INFORMATIONAL_PANEL_DGDPRESENTEDATE_ID");
    dgdPresenteDate.setName(FicheStDto.DATEDGDPRESENTE);
    dgdPresenteDate.setWidth(100);
    layoutContainer_7.add(dgdPresenteDate, new FormData("90%"));
    dgdPresenteDate.setFieldLabel(messages.date());
    layoutContainer_6.add(layoutContainer_7);
    conditionFieldSet.add(layoutContainer_6);
    conditionFieldSet.setStyleAttribute("height", HEIGHT_1);
    conditionFieldSet.setHeading(messages.conditions());
    informationFieldSet.add(conditionFieldSet, layoutData);

    HTML space0 = new HTML(SPACES_3);
    TableData tableData2 = new TableData();
    tableData2.setWidth(COLUMNS_WIDTH[1]);
    informationFieldSet.add(space0, tableData2);

    FieldSet prestationsFieldSet = new FieldSet();
    if(RootPanel.get().getOffsetWidth() <= 1900){//Constants.MIN_WIDTH){
      panel3 -= 50;
    }
    prestationsFieldSet.setWidth(panel2);

    prestationsFieldSet.setStyleAttribute("height", HEIGHT_1);
    FormLayout fl_prestationsFieldSet = new FormLayout();
    fl_prestationsFieldSet.setLabelWidth(120);
    prestationsFieldSet.setLayout(fl_prestationsFieldSet);

    NumberField pilotage = addNumberField(
        prestationsFieldSet, messages.pilotage(), FicheStDto.PRESTAPILOTAGE, "INFORMATIONAL_PANEL_PILOTAGE_ID", true);

    NumberField assurances = addNumberField(
        prestationsFieldSet, messages.assurances(), FicheStDto.PRESTAASSURANCES,
        "INFORMATIONAL_PANEL_ASSURANCES_ID", true);

    prorata = addNumberField(
        prestationsFieldSet, messages.prorata(), FicheStDto.PRESTA_PRORATA, "INFORMATIONAL_PANEL_PRORATE_ID", true);
    prorata.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(6, prorata.getValue().doubleValue()));
      }
    });

    canto = addNumberField(prestationsFieldSet, messages.canto(), FicheStDto.PRESTACANTO, "INFORMATIONAL_PANEL_CANTO_ID", false);
    canto.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(0, canto.getValue().doubleValue()));
      }
    });

    badge = addNumberField(prestationsFieldSet, messages.badge(), FicheStDto.PRESTABADGE, "INFORMATIONAL_PANEL_BADGE_ID", false);
    badge.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(1, badge.getValue().doubleValue()));
      }
    });

    grue = addNumberField(prestationsFieldSet, messages.grue(), FicheStDto.PRESTAGRUE, "INFORMATIONAL_PANEL_GRUE_ID", false);
    grue.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(2, grue.getValue().doubleValue()));
      }
    });

    lift = addNumberField(prestationsFieldSet, messages.lift(), FicheStDto.PRESTALIFT, "INFORMATIONAL_PANEL_LIFT_ID", false);
    lift.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(3, lift.getValue().doubleValue()));
      }
    });

    benne = addNumberField(prestationsFieldSet, messages.benne(), FicheStDto.PRESTABENNE, "INFORMATIONAL_PANEL_BENNE_ID", false);
    benne.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(4, benne.getValue().doubleValue()));
      }
    });

    netoyage = addNumberField(
        prestationsFieldSet, messages.nettoyage(), FicheStDto.PRESTANETTOYAGE, "INFORMATIONAL_PANEL_NETOYAGE_ID", false);
    netoyage.addListener(Events.KeyUp, new KeyListener() {
      @Override
      public void handleEvent(ComponentEvent e) {
        bus.fireEvent(new PrestationEvent(5, netoyage.getValue().doubleValue()));
      }
    });

    TableData tableData6 = new TableData();
    tableData6.setVerticalAlign(VerticalAlignment.MIDDLE);
    tableData6.setWidth(COLUMNS_WIDTH[2]);
    prestationsFieldSet.setHeading(messages.prestations());
    informationFieldSet.add(prestationsFieldSet, tableData6);

    HTML space1 = new HTML(SPACES_3);
    TableData tableData7 = new TableData();
    tableData7.setWidth(COLUMNS_WIDTH[3]);
    informationFieldSet.add(space1, tableData7);

    FieldSet informationComplementaries = new FieldSet();
    informationComplementaries.setWidth(panel3);
    TableLayout tl_informationComplementaries = new TableLayout(1);
    tl_informationComplementaries.setWidth("96%");
    informationComplementaries.setLayout(tl_informationComplementaries);

    Map<Integer,String> mapConducteurdetravaux = navigation.getContext().getMapConducteurdetravaux();
    String conducteur_ = mapConducteurdetravaux.get(ficheStId_) !=null ? mapConducteurdetravaux.get(ficheStId_) : "";
    final LabelField conducteur = new LabelField(conducteur_);
    bus.addHandler(ConducteurEvent.TYPE, new ConducteurHandler() {   
      @Override
      public void onChangeConducteur(ConducteurEvent conducteurEvent) {
        conducteur.setValue(conducteurEvent.getConducter());
      }
    });
    conducteur.setId("INFORMATIONAL_PANEL_CONDUCTEUR_ID");
    conducteur.setFieldLabel(messages.conducteur() + ":");

    LayoutContainer layoutContainer_8 = new LayoutContainer();
    FormLayout fl_layoutContainer_8 = new FormLayout();
    fl_layoutContainer_8.setLabelWidth(165);
    layoutContainer_8.setLayout(fl_layoutContainer_8);
    layoutContainer_8.add(conducteur, new FormData("100%"));

    DateField dateOfMarket = new DateField();
    dateOfMarket.setName(FicheStDto.DATEMARCHEBASE);
    dateOfMarket.setId("INFORMATIONAL_PANEL_DATEOFMARKET_ID");
    layoutContainer_8.add(dateOfMarket, new FormData("50%"));
    dateOfMarket.setFieldLabel(messages.dateOfMarket());
    TableData layoutData5 = new TableData();
    layoutData5.setWidth("50%");
    informationComplementaries.add(layoutContainer_8, layoutData5);

    LayoutContainer layoutContainer_3 = new LayoutContainer();
    layoutContainer_3.setHeight("315px");
    layoutContainer_3.setLayout(new RowLayout(Orientation.VERTICAL));
    layoutContainer_3.setStyleAttribute("height", HEIGHT_1);
    layoutContainer_3.add(informationComplementaries);
    informationComplementaries.setHeight("85px");
    TableData layoutData3 = new TableData();
    layoutData3.setVerticalAlign(VerticalAlignment.MIDDLE);
    layoutData3.setWidth(COLUMNS_WIDTH[4]);

    FieldSet cautionFieldset = new FieldSet();
    cautionFieldset.setLayout(new RowLayout(Orientation.VERTICAL));

    layoutContainer_3.add(cautionFieldset);
    cautionFieldset.setHeight("205px");
    cautionFieldset.setHeading(messages.cautionFournie());
    informationFieldSet.add(layoutContainer_3, layoutData3);
View Full Code Here

    chantierInfo.add(formPanel, new FormData("35%"));
    add(chantierInfo);
    chantierInfo.setHeading("INFORMATIONS CHANTIER");

    CustomFieldSet fldstNewFieldset_1 = new CustomFieldSet();
    fldstNewFieldset_1.setLayout(new RowLayout(Orientation.VERTICAL));
    add(fldstNewFieldset_1);
    fldstNewFieldset_1.setHeading("SYNTHESE DES FICHES ST");

    LayoutContainer linksPanel = new LayoutContainer();
    linksPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    LayoutContainer topPanel = new LayoutContainer();
    topPanel.setHeight(25);
    topPanel.setLayout(new BorderLayout());
    topPanel.add(linksPanel, new BorderLayoutData(LayoutRegion.EAST, 645));
    topPanel.add(formPanel2, new BorderLayoutData(LayoutRegion.WEST, 500));
View Full Code Here

  FieldSet fieldSet = new FieldSet();
  fieldSet.setStyleAttribute("backgroundColor", "#EDF5EA");
  fieldSet.setHeading("Droits d'administration");
  fieldSet.setHeight(460);
  // fieldSet.setWidth(RootPanel.get().getOffsetWidth() / 2 - 20);
  RowLayout rl_fieldSet = new RowLayout(Orientation.VERTICAL);

  rl_fieldSet.setAdjustForScroll(true);
  fieldSet.setLayout(rl_fieldSet);

  LayoutContainer layoutContainer = new LayoutContainer();
  layoutContainer.setLayout(new ColumnLayout());
  layoutContainer.setBorders(false);
View Full Code Here

  btnAdd.addSelectionListener(add);
  btnAdd.setEnabled(false);
  layoutContainer.add(new Html("&nbsp"));
  layoutContainer.add(btnAdd, new com.extjs.gxt.ui.client.widget.layout.ColumnData(100.0));

  RowLayout rl_fieldSet = new RowLayout(Orientation.VERTICAL);
  rl_fieldSet.setAdjustForScroll(true);
  fieldSet.setLayout(rl_fieldSet);

  LayoutContainer layoutContainer_1 = new LayoutContainer();
  layoutContainer_1.setLayout(new ColumnLayout());
  layoutContainer_1.setBorders(false);
View Full Code Here

    setHeight("40px");
    setLayout(new BorderLayout());
    setMonitorWindowResize(true);
   
    LayoutContainer westPanel = new LayoutContainer();
    westPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));
   
    chantier = new HTML();
    /* chantier.setVisible(false); */
    chantier.setWidth("1000px");
    chantier.setStyleName("actionHTML2");
    westPanel.add(chantier);
    chantier.addClickHandler(new ClickHandler() {
     
      @Override
      public void onClick(ClickEvent arg0) {
        GuiUtil.gotoEcran(new SyntheseEcran(chantierModel, role, user));
      }
    });
    add(westPanel, new BorderLayoutData(LayoutRegion.WEST, 500.0f));
    LayoutContainer eastPanel = new LayoutContainer();
    eastPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));
    HTML saveFicheSt = new HTML("<img src='./images/sauvegarder.png'/> " + messages.saveForm());
    saveFicheSt.setStyleName("actionHTML");
    /* eastPanel.add(saveFicheSt); */
    saveFicheSt.addClickHandler(new ClickHandler() {
      @Override
      public void onClick(ClickEvent event) {
        bus.fireEvent(new SaveFicheStEvent());
      }
    });
   
    HTML space = new HTML("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", true);
    eastPanel.add(space);
   
    HTML printAll = new HTML("<img src='./images/imprimer.png'/> " + messages.printAll());
    printAll.setStyleName("actionHTML");
   
    /* eastPanel.add(printAll); */
    add(eastPanel, new BorderLayoutData(LayoutRegion.EAST, 390.0f));
   
    LayoutContainer centerPanel = new LayoutContainer();
    centerPanel.setLayout(new RowLayout(Orientation.VERTICAL));
   
    HTML html = new HTML("<br>", true);
    centerPanel.add(html);
    Label pageTitle = new Label("Fiche de Transfert PP");
    centerPanel.add(pageTitle);
View Full Code Here

    setHeight("40px");
    setLayout(new BorderLayout());
    setMonitorWindowResize(true);
   
    LayoutContainer westPanel = new LayoutContainer();
    westPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));
   
    com.extjs.gxt.ui.client.widget.Label chantier = new com.extjs.gxt.ui.client.widget.Label(messages.accueilLink());
    chantier.setStyleName("actionHTML5");
    westPanel.add(chantier);

    path = new HTML("&nbsp;> Fiche ST : " + societe);
    path.setWidth("220px");
  /*  westPanel.add(path);*/
    add(westPanel, new BorderLayoutData(LayoutRegion.WEST, 390.0f));

    LayoutContainer eastPanel = new LayoutContainer();
    eastPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));

    HTML saveFicheSt = new HTML("<img src='./images/sauvegarder.png'/> " + messages.saveForm());
    saveFicheSt.setStyleName("actionHTML");
    /*eastPanel.add(saveFicheSt);*/
    saveFicheSt.addClickHandler(new ClickHandler() {
      @Override
      public void onClick(ClickEvent event) {
        bus.fireEvent(new SaveFicheStEvent());
      }
    });

    HTML space = new HTML("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", true);
    eastPanel.add(space);

    HTML printAll = new HTML("<img src='./images/imprimer.png'/> " + messages.printAll());
    printAll.setStyleName("actionHTML");

  /*  eastPanel.add(printAll);*/
    add(eastPanel, new BorderLayoutData(LayoutRegion.EAST, 390.0f));

    LayoutContainer centerPanel = new LayoutContainer();
    centerPanel.setLayout(new RowLayout(Orientation.VERTICAL));

    HTML html = new HTML("<br>", true);
    centerPanel.add(html);

    Label pageTitle = new Label("Choix du chantier");
View Full Code Here

    setHeight("40px");
    setLayout(new BorderLayout());
    setMonitorWindowResize(true);
   
    LayoutContainer westPanel = new LayoutContainer();
    westPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));
   
    com.extjs.gxt.ui.client.widget.Label chantier = new com.extjs.gxt.ui.client.widget.Label("Acceuil");
    chantier.setStyleName("actionHTML5");
    westPanel.add(chantier);
   
    add(westPanel, new BorderLayoutData(LayoutRegion.WEST, 390.0f));
   
    LayoutContainer eastPanel = new LayoutContainer();
    eastPanel.setLayout(new RowLayout(Orientation.HORIZONTAL));
   
    HTML space = new HTML("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", true);
    eastPanel.add(space);
   
    add(eastPanel, new BorderLayoutData(LayoutRegion.EAST, 390.0f));
   
    LayoutContainer centerPanel = new LayoutContainer();
    centerPanel.setLayout(new RowLayout(Orientation.VERTICAL));
   
    HTML html = new HTML("<br>", true);
    centerPanel.add(html);
   
    Label pageTitle = new Label("Administration des rôles");
View Full Code Here

    @Override
    protected void onRender(Element parent, int index) {
  super.onRender(parent, index);
  LayoutContainer mainContent = new LayoutContainer();
  setLayout(new RowLayout(Orientation.VERTICAL));
  setMonitorWindowResize(true);
  List<ColumnConfig> configs = new ArrayList<ColumnConfig>();
  ContentPanel contentChantier = new ContentPanel();
  GridCellRenderer<ChantierModel> deleteBtn = new GridCellRenderer<ChantierModel>() {
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.widget.layout.RowLayout

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.