Package com.sencha.gxt.widget.core.client.form

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


    desc=new TextArea();
   
    FlowLayoutContainer centerContainer=new FlowLayoutContainer();
    centerContainer.setScrollMode(ScrollMode.AUTOY);
   
    FieldSet one=new FieldSet();
    one.setHeadingText("基本信息");
    VerticalLayoutContainer p1 = new VerticalLayoutContainer();
    p1.add(new FieldLabel(name, "名称"),new VerticalLayoutContainer.VerticalLayoutData(1, 1));
    p1.add(new FieldLabel(desc, "描述"),new VerticalLayoutContainer.VerticalLayoutData(1, 1));
    one.add(p1);
   
    centerContainer.add(one,new MarginData(5));
   
    final FieldSet two=new FieldSet();
    two.setHeadingText("配置项信息");
    configs=new TextArea();
    configs.setResizable(TextAreaInputCell.Resizable.BOTH);
    configs.addValidator(FormatUtil.propValidator);
    configs.setWidth(800);
    configs.setHeight(150);
    two.add(configs);
   
    centerContainer.add(two,new MarginData(5));
   
    final FieldSet three=new FieldSet();
    three.setHeadingText("资源信息");
    resources=new TextArea();
    resources.setResizable(Resizable.BOTH);
    resources.setWidth(800);
    resources.setHeight(150);
    resources.addValidator(FormatUtil.resourceValidator);
    three.add(resources);
    centerContainer.add(three,new MarginData(5));
   
    setCenter(centerContainer);
   
    addButton(new TextButton("返回", new SelectHandler() {
View Full Code Here


    addButton(save);
  }

  private FieldSet getHiveProcesserFieldSet() {
    if (hiveProcesserFieldSet == null) {
      hiveProcesserFieldSet = new FieldSet();
      hiveProcesserFieldSet.setCollapsible(true);
      hiveProcesserFieldSet.setHeadingText("辅助功能配置");
      hiveProcesserFieldSet.setHeight(160);
      VerticalLayoutContainer container = new VerticalLayoutContainer();
      outputTableField = new TextField();
View Full Code Here

  }

  public FieldSet getBaseFieldSet() {
    if (baseFieldSet == null) {
      baseFieldSet = new FieldSet();
      baseFieldSet.setHeadingText("基本信息");
      baseFieldSet.setHeight(128);

      HorizontalLayoutContainer layoutContainer = new HorizontalLayoutContainer();
      baseFieldSet.add(layoutContainer);
View Full Code Here

    return baseFieldSet;
  }

  public FieldSet getConfigFieldSet() {
    if (configFieldSet == null) {
      configFieldSet = new FieldSet();
      configFieldSet.setCollapsible(true);
      configFieldSet.setHeadingText("配置项信息");
      configFieldSet.setWidth("96%");
      configFieldSet.setResize(false);
      configs = new TextArea();
View Full Code Here

    return configFieldSet;
  }

  public FieldSet getResourceField() {
    if (resourceField == null) {
      resourceField = new FieldSet();
      resourceField.setCollapsible(true);
      resourceField.setHeadingText("资源信息");
      resourceField.setWidth("96%");
      resourceField.setResize(false);
      resources = new TextArea();
View Full Code Here

    return resourceField;
  }

  public FieldSet getScriptFieldSet() {
    if (scriptFieldSet == null) {
      scriptFieldSet = new FieldSet();
      scriptFieldSet.setCollapsible(true);
      scriptFieldSet.setHeadingText("脚本");
      CodeMirrorConfig cmc = new CodeMirrorConfig();
      cmc.readOnly = false;
      script = new CodeMirror(cmc);
View Full Code Here

    }
  }

  public FieldSet getBaseFieldSet() {
    if(baseFieldSet==null){
      baseFieldSet=new FieldSet();
      baseFieldSet.setHeadingText("基本信息");
     
      VerticalLayoutContainer p = new VerticalLayoutContainer();
     
      baseId=new Label();
View Full Code Here

    return baseFieldSet;
  }

  public FieldSet getConfigParentField() {
    if(configParentField==null){
      configParentField=new FieldSet();
      configParentField.setHeadingText("继承的配置项信息");
      configParentField.setCollapsible(true);
     
      configParentContent=new HTMLPanel("");
      configParentField.add(configParentContent);
View Full Code Here

    return configParentField;
  }

  public FieldSet getResourceField() {
    if(resourceField==null){
      resourceField=new FieldSet();
      resourceField.setHeadingText("资源信息");
      resourceContent=new HTMLPanel("");
      resourceField.add(resourceContent);
    }
    return resourceField;
View Full Code Here

    return resourceField;
  }

  public FieldSet getResourceParentField() {
    if(resourceParentField==null){
      resourceParentField=new FieldSet();
      resourceParentField.setHeadingText("继承的资源信息");
      resourceParentContent=new HTMLPanel("");
      resourceParentField.add(resourceParentContent);
    }
    return resourceParentField;
View Full Code Here

TOP

Related Classes of com.sencha.gxt.widget.core.client.form.FieldSet

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.