Examples of VerticalLayoutData


Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

          toolBar.add(remove);
//          toolBar.add(box);

          VerticalLayoutContainer layout2 = new VerticalLayoutContainer();

          toolBar.setLayoutData(new VerticalLayoutData(1, -1));
          layout2.add(toolBar);

//          chart.setLayoutData(new VerticalLayoutData(1, 1));
          layout2.add(chart.asWidget());
          final VerticalLayoutContainer layout = new VerticalLayoutContainer();

          layout.setBorders(true);
          // table that provide the data source information
          layout.add(flexTable, new VerticalLayoutData(1, height / 10));
          errorLabel.setHeight("20px");
          errorLabel.setText("");

          layout.add(layout2,new VerticalLayoutData(1, 1));
          layout.add(errorLabel);
          enableLive();
          panel.add(layout);
         
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

    legend.setPosition(Position.RIGHT);
    legend.setItemHighlighting(true);
    legend.setItemHiding(true);
    chart.setLegend(legend);

    chart.setLayoutData(new VerticalLayoutData(1, 1));
    return chart;
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

    legend.setPosition(Position.RIGHT);
    legend.setItemHighlighting(true);
    legend.setItemHiding(true);
    chart.setLegend(legend);

    chart.setLayoutData(new VerticalLayoutData(1, 1));
    return chart;
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

   
    toolBar = new PagingToolBar(15);
    toolBar.bind(loader);
    VerticalLayoutContainer con = new VerticalLayoutContainer();
      con.setBorders(true);
      con.add(grid, new VerticalLayoutData(1, 1));
      con.add(toolBar, new VerticalLayoutData(1, 30));

    setCenter(con);
   
    addButton(new TextButton("返回",new SelectHandler() {
      public void onSelect(SelectEvent event) {
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

    VerticalLayoutContainer p=new VerticalLayoutContainer();
    formPanel.add(p);
   
    name=new TextField();
    name.setAllowBlank(false);
    p.add(new FieldLabel(name, "任务名称"),new VerticalLayoutData(1,-1));
   
    ListStore<Map<String, String>> jobTypeStore=new ListStore<Map<String, String>>(new ModelKeyProvider<Map<String, String>>() {
      public String getKey(Map<String, String> item) {
        return item.get("name");
      }
    });
    Map<String, String> javamain=new HashMap<String, String>();
    javamain.put("name", JobModel.MapReduce);
    jobTypeStore.add(javamain);
    Map<String, String> shell=new HashMap<String, String>();
    shell.put("name", JobModel.SHELL);
    jobTypeStore.add(shell);
    Map<String, String> hive=new HashMap<String, String>();
    hive.put("name", JobModel.HIVE);
    jobTypeStore.add(hive);
    jobType=new ComboBox<Map<String, String>>(jobTypeStore,new LabelProvider<Map<String, String>>() {
      public String getLabel(Map<String, String> item) {
        return item.get("name");
      }
    });
    jobType.setAllowBlank(false);
    jobType.setTypeAhead(true);
    jobType.setTriggerAction(TriggerAction.ALL);
    jobType.setEditable(false);
   
   
    jobType.setStore(jobTypeStore);
   
    p.add(new FieldLabel(jobType, "任务类型"),new VerticalLayoutData(1, -1));
   
    add(formPanel);
    addButton(save);
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

    radios.add(leaf);
    group=new ToggleGroup();
    group.add(dir);
    group.add(leaf);
   
    p.add(new FieldLabel(name, "组名称(*)"), new VerticalLayoutData(1, -1));
    p.add(new FieldLabel(radios,"组类型(*)"), new VerticalLayoutData(1, -1));

    add(panel,new MarginData(5));

    addButton(new TextButton("确定", new SelectHandler() {
      public void onSelect(SelectEvent event) {
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

   
    HorizontalLayoutContainer form=new HorizontalLayoutContainer();
    form.add(new FieldLabel(date,"日期"),new HorizontalLayoutData());
    form.add(submit,new HorizontalLayoutData());
   
    container.add(form,new VerticalLayoutData(1,30));
    container.addAttachHandler(new Handler() {
      public void onAttachOrDetach(AttachEvent event) {
        submit.fireEvent(new SelectEvent());
      }
    });
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

      depCycleWapper = new FieldLabel(baseDepCycle, "依赖周期");
      depJobsWapper = new FieldLabel(baseDepJobs, "依赖任务");
      cronWapper = new FieldLabel(baseCron, "定时表达式");
      mainWapper = new FieldLabel(baseMain, "Main类");
      leftContainer.add(new FieldLabel(baseName, "名称"),
          new VerticalLayoutData(1, -1));
      leftContainer.add(new FieldLabel(baseDesc, "描述"),
          new VerticalLayoutData(1, -1));
      rightContainer.add(new FieldLabel(baseScheduleType, "调度类型"),
          new VerticalLayoutData(1, -1));
      rightContainer.add(cronWapper, new VerticalLayoutData(1, -1));
      rightContainer.add(depJobsWapper, new VerticalLayoutData(1, -1));
      rightContainer.add(depCycleWapper, new VerticalLayoutData(1, -1));
      leftContainer.add(mainWapper, new VerticalLayoutData(1, -1));

    }
    return baseFieldSet;
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

    HorizontalLayoutContainer form=new HorizontalLayoutContainer();
    form.add(new FieldLabel(start, "起始日期"),new HorizontalLayoutData(0.3,1));
    form.add(new FieldLabel(end,"截止日期"),new HorizontalLayoutData(0.3, 1));
    form.add(submit,new HorizontalLayoutData(-1,-1));
   
    container.add(form,new VerticalLayoutData(1, 30));
   
    container.addAttachHandler(new Handler() {
      public void onAttachOrDetach(AttachEvent event) {
        submit.fireEvent(new SelectEvent());
      }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData

    group=new ToggleGroup();
    group.add(dir);
    group.add(leaf);


    p.add(new FieldLabel(name, "组名称(*)"), new VerticalLayoutData(-18, -1));
    p.add(new FieldLabel(radios,"组类型(*)"), new VerticalLayoutData(-18, -1));
   
    setCenter(panel);

    addButton(new TextButton("返回", new SelectHandler() {
      public void onSelect(SelectEvent event) {
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.