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

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


    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>();
    devis.setName(GestionDto.DEVIS);
    devis.setFieldLabel(messages.devis());
View Full Code Here


  createDetailsTransferPp(role, user);
  createTotalPP();
  inforFieldset = new FieldSet();
  inforFieldset.setHeading("INFORMATION GENERALES");
  LayoutContainer layoutContainer_0 = new LayoutContainer();
  FormLayout fl_layoutContainer_0 = new FormLayout();
  fl_layoutContainer_0.setLabelWidth(70);
  layoutContainer_0.setLayout(new TableLayout(2));
  TableData col1 = new TableData();
  col1.setWidth("600px");
  TableData col2 = new TableData();
  col2.setWidth("600px");
View Full Code Here

    accomptesPanel3.add(new HTML(SPACES + SPACES), td5);

    LayoutContainer layoutContainer = new LayoutContainer();
    layoutContainer.setWidth("100%");
    setDefaultBackgroundColor(layoutContainer);
    FormLayout fl_layoutContainer = new FormLayout();
    fl_layoutContainer.setLabelAlign(LabelAlign.TOP);
    layoutContainer.setLayout(fl_layoutContainer);

    comment.setName(FicheStDto.ACPT_COMMENTAIRES);
    comment.setId("ACCOMPTESPANEL_COMMENT");
    int height = 110;
    TableLayout tl10 = new TableLayout(1);
    tl10.setWidth("100%");
    setLayout(tl10);
    lc1.setLayout(new RowLayout(Orientation.VERTICAL));
    comment.setHeight(height);
    comment.setFieldLabel(messages.comment());
    layoutContainer.add(comment, new FormData("390%"));
    lc1.add(layoutContainer);
    lc1.add(new HTML("<br>"));
    LayoutContainer layoutContainer_1 = new LayoutContainer();
    layoutContainer_1.setWidth("100%");
    layoutContainer_1.setHeight(123);
    setDefaultBackgroundColor(layoutContainer_1);
    FormLayout fl_layoutContainer_1 = new FormLayout();
    fl_layoutContainer_1.setLabelAlign(LabelAlign.TOP);
    layoutContainer_1.setLayout(fl_layoutContainer_1);
    // internalComment.setWidth("120%");
    internalComment.setName(FicheStDto.ACPT_COMMENTAIRES_INTERNES);
    internalComment.setId("ACCOMPTESPANEL_INTERNAL_COMMENT");
    internalComment.setHeight(height);
View Full Code Here

  public AddPenaltyForm() {
    final FormPanel formPanel = new FormPanel();
    formPanel.setBorders(false);
    formPanel.setBodyBorder(false);
    formPanel.setHeaderVisible(false);
    FormLayout fl_formPanel = new FormLayout();
    fl_formPanel.setLabelWidth(100);
    formPanel.setLayout(fl_formPanel);

    DateField date = new DateField();
    date.setName(PenaltyDto.DATE);
    date.setFieldLabel(messages.date());
View Full Code Here

  protected Button reset;
  protected Button login;
  protected Status status;

  public LoginDialog() {
    FormLayout layout = new FormLayout();
    layout.setLabelWidth(90);
    layout.setDefaultWidth(155);
    setLayout(layout);
   
    setButtonAlign(HorizontalAlignment.LEFT);
    setButtons("");
    setIcon(IconHelper.createStyle("user"));
View Full Code Here

    FieldSet fieldSet = new FieldSet();
    fieldSet.setHeading("User Information");
    fieldSet.setCheckboxToggle(true);

    FormLayout layout = new FormLayout();
    layout.setLabelWidth(75);
    fieldSet.setLayout(layout);

    TextField<String> firstName = new TextField<String>();
    firstName.setFieldLabel("First Name");
    firstName.setAllowBlank(false);
    fieldSet.add(firstName, formData);

    TextField<String> lastName = new TextField<String>();
    lastName.setFieldLabel("Last Name");
    fieldSet.add(lastName, formData);

    TextField<String> company = new TextField<String>();
    company.setFieldLabel("Company");
    fieldSet.add(company, formData);

    TextField<String> email = new TextField<String>();
    email.setFieldLabel("Email");
    fieldSet.add(email, formData);

    form2.add(fieldSet);

    fieldSet = new FieldSet();
    fieldSet.setHeading("Phone Numbers");
    fieldSet.setCollapsible(true);

    layout = new FormLayout();
    layout.setLabelWidth(75);
    fieldSet.setLayout(layout);

    TextField<String> field = new TextField<String>();
    field.setFieldLabel("Home");
    fieldSet.add(field, formData);
View Full Code Here

    final TabPanel tabs = new TabPanel();

    TabItem personal = new TabItem();
    personal.setStyleAttribute("padding", "10px");
    personal.setText("Personal Details");
    personal.setLayout(new FormLayout());

    TextField<String> name = new TextField<String>();
    name.setFieldLabel("First Name");
    name.setValue("Darrell");
    personal.add(name, formData);

    TextField<String> last = new TextField<String>();
    last.setFieldLabel("Last Name");
    last.setValue("Meyer");
    personal.add(last, formData);

    TextField<String> company = new TextField<String>();
    company.setFieldLabel("Company");
    personal.add(company, formData);

    TextField<String> email = new TextField<String>();
    email.setFieldLabel("Email");
    personal.add(email, formData);

    tabs.add(personal);

    TabItem numbers = new TabItem();
    numbers.setStyleAttribute("padding", "10px");
    numbers.setText("Phone Numbers");
    numbers.setLayout(new FormLayout());

    TextField<String> home = new TextField<String>();
    home.setFieldLabel("Home");
    home.setValue("800-555-1212");
    numbers.add(home, formData);
View Full Code Here

    LayoutContainer main = new LayoutContainer();
    main.setLayout(new ColumnLayout());

    LayoutContainer left = new LayoutContainer();
    left.setStyleAttribute("paddingRight", "10px");
    FormLayout layout = new FormLayout();
    layout.setLabelAlign(LabelAlign.TOP);
    left.setLayout(layout);

    TextField<String> first = new TextField<String>();
    first.setFieldLabel("First Name");
    left.add(first, formData);

    TextField<String> company = new TextField<String>();
    company.setFieldLabel("Company");
    left.add(company, formData);

    DateField birthday = new DateField();
    birthday.setFieldLabel("Birthday");
    left.add(birthday, formData);

    LayoutContainer right = new LayoutContainer();
    right.setStyleAttribute("paddingLeft", "10px");
    layout = new FormLayout();
    layout.setLabelAlign(LabelAlign.TOP);
    right.setLayout(layout);

    TextField<String> last = new TextField<String>();
    last.setFieldLabel("Last");
    right.add(last, formData);
View Full Code Here

    vLayout.setVBoxLayoutAlign(VBoxLayoutAlign.STRETCH);
    lc.setLayout(vLayout);

    FieldSet controls = new FieldSet();
    controls.setHeading("Controls");
    FormLayout fl = new FormLayout();
    fl.setLabelWidth(125);
    controls.setLayout(fl);

    Slider segments = new Slider();
    segments.setMaxValue(12);
    segments.setMinValue(1);
View Full Code Here

    rg.add(edRadio);
    selRadio = new Radio();
    selRadio.setValue(true);
    selRadio.setBoxLabel("Selects Cell");
    rg.add(selRadio);
    LayoutContainer radForm = new LayoutContainer(new FormLayout(LabelAlign.RIGHT));
    radForm.add(rg);

    LayoutContainer lc = new LayoutContainer();
    RowLayout rl = new RowLayout();
    lc.setLayout(rl);
View Full Code Here

TOP

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

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.