Examples of LabelField


Examples of com.extjs.gxt.ui.client.widget.form.LabelField

        add.setEnabled(editable);
        toolBar.add(add);
        if (URL.getServerBaseURL().startsWith("http://localhost:")
                || URL.getServerBaseURL().startsWith("https://localhost:")) {
            toolBar.add(new FillToolItem());
            LabelField warningLabel = new LabelField(Messages.get(
                    "label.urlmapping.inactiveOnLocalhost",
                    "URL mapping is inactive for server-name: localhost"));
            warningLabel.setStyleAttribute("color", "red");
            toolBar.add(warningLabel);
        }

        ContentPanel cp = new ContentPanel(new FitLayout());
        cp.setHeading(node.getUrl());
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

    add(btnAsCustomer, new AbsoluteData(97, 189));
   
    Button btnAsTrader = new Button("As Trader");
    add(btnAsTrader, new AbsoluteData(222, 189));
   
    LabelField lblfldUserId = new LabelField("User ID");
    add(lblfldUserId, new AbsoluteData(54, 66));
   
    LabelField lblfldPassword = new LabelField("Password");
    add(lblfldPassword, new AbsoluteData(65, 117));
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

    ColumnModel cm = grid.getColumnModel();
    for (int i = 0, len = cm.getColumnCount(); i < len; i++) {
      ColumnConfig c = cm.getColumn(i);
      CellEditor ed = c.getEditor();
      if (ed == null) {
        ed = new CellEditor(new LabelField());
        c.setEditor(ed);
      }
      Field<?> f = ed.getField();
      if (f instanceof TriggerField<?>) {
        ((TriggerField<? extends Object>) f).setMonitorTab(true);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

    ColumnModel cm = grid.getColumnModel();
    for (int i = 0, len = cm.getColumnCount(); i < len; i++) {
      ColumnConfig c = cm.getColumn(i);
      CellEditor ed = c.getEditor();

      Field<?> f = ed != null ? ed.getField() : new LabelField();
      if (f instanceof TriggerField<?>) {
        ((TriggerField<? extends Object>) f).setMonitorTab(true);
      }
      f.setWidth(cm.getColumnWidth(i));
      HBoxLayoutData ld = new HBoxLayoutData();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

    panel.setHeading("Assign variables");
    panel.setButtonAlign(HorizontalAlignment.RIGHT);
    panel.setStyleAttribute("padding", "20");
    panel.setLayout(new FitLayout());
   
    instructions = new LabelField();
    instructions.addStyleName("main-font");
    panel.add(instructions);
       
    List <ColumnConfig> configs = new ArrayList<ColumnConfig>();
   
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

  }

  private final LayoutContainer createTreePanel() {
    LayoutContainer panel = new LayoutContainer();
    panel.setLayout(new RowLayout());
    panel.add(new LabelField(constants.views() + ":"));
    LayoutContainer treePanel = new LayoutContainer();
    selectionTree = new ViewSelectionTree(importViews, false);
    Tree viewTree = selectionTree.getTree();
    viewTree.setCheckable(true);
//    treePanel.setSize(210, 200);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

      } else if (bb.getItem(i).getItemId().equalsIgnoreCase(Dialog.NO) && isCells) {
        bb.getItem(i).setText(constants.discardChanges());
      }
    }
   
    LabelField l = new LabelField(message);   
    l.setStyleName("margin10");
    add(l);   
    doNotShowAgain.setStyleName("margin10");
    add(doNotShowAgain);
    setHeight(370);
    setWidth(420);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

      new EnhancedSimpleComboBox<String>();
    comboBox.setHideLabel(true);
   
    HorizontalPanel hp = new HorizontalPanel();
    hp.setVerticalAlign(VerticalAlignment.TOP);   
    LabelField labelL = new LabelField(title + ":");
    labelL.setPixelSize(130, -1);
    comboBox.setPixelSize(220, -1);
    comboBox.setEditable(false);
    hp.add(labelL);
    hp.add(comboBox);
    TableData ldata = new TableData();
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

    TextField <String> textfield = new TextField<String>();
    textfield.setHideLabel(true);

    HorizontalPanel hp = new HorizontalPanel();
    hp.setVerticalAlign(VerticalAlignment.TOP);   
    LabelField labelL = new LabelField(title + ":");
    labelL.setPixelSize(130, -1);
    textfield.setPixelSize(220, -1);
    hp.add(labelL);
    hp.add(textfield);
    TableData ldata = new TableData();
    ldata.setColspan(2);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.LabelField

      dimRepoLayoutData.setCollapsible(false);
      dimRepoLayoutData.setFloatable(false);
      dimRepoLayoutData.setMinSize(0);
      dimRepoLayoutData.setMaxSize(0);
      dimRepoLayoutData.setSize(0);
      add(new LabelField(), dimRepoLayoutData);
    } else {
      add(dimRepository, dimRepoLayoutData);
    }
    initRepositoryContainer();
    if (displayFlags.isHideStaticFilter()) {
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.