Examples of FieldLabel


Examples of com.sencha.gxt.widget.core.client.form.FieldLabel

      baseOwner=new Label();
      baseDesc=new Label();
      baseFollers=new Label();
      baseAdmins=new Label();
     
      p.add(new FieldLabel(baseId, "id"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      p.add(new FieldLabel(baseName,"名称"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      p.add(new FieldLabel(baseOwner,"所有人"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      p.add(new FieldLabel(baseDesc,"描述"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      p.add(new FieldLabel(baseFollers,"关注人员"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      p.add(new FieldLabel(baseAdmins,"管理员"),new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      baseFieldSet.add(p);
    }
    return baseFieldSet;
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.FieldLabel

      VerticalLayoutContainer rightContainer=new VerticalLayoutContainer();
      rightContainer.setWidth(300);
      layoutContainer.add(leftContainer,new HorizontalLayoutData(-1,1));
      layoutContainer.add(rightContainer,new HorizontalLayoutData(-1,1));
     
      baseId=new FieldLabel(getLabel(),"id");
      baseName=new FieldLabel(getLabel(),"名称");
      baseOwner=new FieldLabel(getLabel(),"所有人");
      baseDesc=new FieldLabel(new Label("",true),"描述");
      baseJobType=new FieldLabel(getLabel(),"任务类型");
      baseScheduleType=new FieldLabel(new Label(),"调度类型");
      baseCron=new FieldLabel(getLabel(),"定时表达式");
      baseAuto=new FieldLabel(getLabel(),"自动调度");
      baseDepJobs=new FieldLabel(getLabel(),"依赖任务");
      baseDepCycle=new FieldLabel(getLabel(),"依赖周期");
      baseFollers=new FieldLabel(getLabel(),"关注人员");
      baseAdmins=new FieldLabel(getLabel(),"管理员");
     
      leftContainer.add(baseId,new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      leftContainer.add(baseName,new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      leftContainer.add(baseOwner,new VerticalLayoutContainer.VerticalLayoutData(1, -1));
      leftContainer.add(baseDesc,new VerticalLayoutContainer.VerticalLayoutData(1, -1));
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.FieldLabel

    if (hiveProcesserFieldSet == null) {
      hiveProcesserFieldSet = new FieldSet();
      hiveProcesserFieldSet.setCollapsible(true);
      hiveProcesserFieldSet.setHeadingText("辅助功能配置");
      VerticalLayoutContainer container = new VerticalLayoutContainer();
      outputTableLabel = new FieldLabel(getLabel(),"产出的表名");
      syncTableLabel = new FieldLabel(getLabel(),"阻塞同步的天网表");
      keepDaysLabel = new FieldLabel(getLabel(),"旧分区保留天数");
      driftPercentLabel = new FieldLabel(getLabel(),"产出数据浮动报警");
      zkHostLabel = new FieldLabel(getLabel(),"自定义ZK host");
      zkPathLabel = new FieldLabel(getLabel(),"自定义ZK path");
     
      container.add(syncTableLabel);
      container.add(outputTableLabel);
      container.add(keepDaysLabel);
      container.add(driftPercentLabel);
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.FieldLabel

    public void onAdd(final AddEvent event)
    {
      final Widget addedWidget = event.getWidget();
      if (addedWidget instanceof FieldLabel)
      {
        final FieldLabel label = (FieldLabel) addedWidget;
        if (labelWidth > 0)
        {
          label.setLabelWidth(labelWidth);
        }
        if (label.getWidget() instanceof Component)
        {
          final Component labeLWidget = (Component) label.getWidget();
          labeLWidget.setWidth(columnWidth - labelWidth - label.getLabelPad());
        }
        label.setLabelAlign(labelAlign);
        // final Widget widget = label.getWidget() ;
      }
      else if (addedWidget instanceof Container)
      {
        final Container container = (Container) addedWidget;
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.FieldLabel

      {
        super.onEnterKeyDown(context, parent, value, event, valueUpdater);
        onSubmit();
      }
    });
    loginFieldLabel = new FieldLabel(loginTextField, DkMain.i18n().connection_popup_login_label());
    loginFieldLabel.setLabelWidth(labelWidth);

    loginTextField.addValidator(new EmptyValidator<String>());
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.form.FieldLabel

      {
        super.onEnterKeyDown(context, parent, value, event, valueUpdater);
        onSubmit();
      }
    });
    passwordFieldLabel = new FieldLabel(passwordTextField, DkMain.i18n().connection_popup_password_label());
    passwordFieldLabel.setLabelWidth(labelWidth);

    passwordTextField.addValidator(new EmptyValidator<String>());
  }
View Full Code Here

Examples of org.apache.click.examples.control.html.FieldLabel

    public Field add(Field field, String labelStr) {
        ListItem item = new ListItem();
        htmlList.add(item);

        field.setAttribute("class", "text");
        FieldLabel label = null;
        if (labelStr != null) {
            label = new FieldLabel(field, labelStr);
        } else {
            label = new FieldLabel(field);
        }
        item.add(label);

        FeedbackBorder border = new FeedbackBorder();
        border.add(field);
View Full Code Here

Examples of org.apache.click.examples.control.html.FieldLabel

    public Field add(Field field, String labelStr) {
        ListItem item = new ListItem();
        htmlList.add(item);

        field.setAttribute("class", "text");
        FieldLabel label = null;
        if (labelStr != null) {
            label = new FieldLabel(field, labelStr);
        } else {
            label = new FieldLabel(field);
        }
        item.add(label);

        FeedbackBorder border = new FeedbackBorder();
        border.add(field);
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.view.display.FieldLabel

        addElementProcessor(new ErrorDetails());
        addElementProcessor(new ErrorMessage());
        addElementProcessor(new ErrorReference());
        addElementProcessor(new ExcludeField());
        addElementProcessor(new Feedback());
        addElementProcessor(new FieldLabel());
        addElementProcessor(new FieldName());
        addElementProcessor(new FieldValue());
        addElementProcessor(new FormField());
        addElementProcessor(new FormEntry());
        addElementProcessor(new Forward());
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.view.display.FieldLabel

        addElementProcessor(new EditObject());
        addElementProcessor(new ElementType());
        addElementProcessor(new Errors());
        addElementProcessor(new ExcludeField());
        addElementProcessor(new Feedback());
        addElementProcessor(new FieldLabel());
        addElementProcessor(new FieldName());
        addElementProcessor(new FieldValue());
        addElementProcessor(new FormField());
        addElementProcessor(new FormEntry());
        addElementProcessor(new Forward());
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.