Package com.sencha.gxt.widget.core.client.container.BoxLayoutContainer

Examples of com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData


      for (int i = 0, len = columnModel.getColumnCount(); i < len; i++) {
        ColumnConfig<M, ?> c = columnModel.getColumn(i);

        final Widget w = doStartEditing(c, value);
        if (w != null) {
          BoxLayoutData ld = new BoxLayoutData();
          ld.setMargins(new Margins(1, 2, 2, 2 + adj));
          w.setLayoutData(ld);
          con.add(w);
          adj = 0;
        }
      }
View Full Code Here


   * Creates a new fill item.
   */
  public FillToolItem() {
    setElement(Document.get().createDivElement());
   
    BoxLayoutData data = new BoxLayoutData();
    data.setFlex(1.0);
    setLayoutData(data);
  }
View Full Code Here

   * Creates a new fill item.
   */
  public FillToolItem() {
    setElement(DOM.createDiv());
   
    BoxLayoutData data = new BoxLayoutData();
    data.setFlex(1.0);
    setLayoutData(data);
  }
View Full Code Here

      for (int i = 0, len = columnModel.getColumnCount(); i < len; i++) {
        ColumnConfig<M, ?> c = columnModel.getColumn(i);

        final Widget w = doStartEditing(c, value);
        if (w != null) {
          BoxLayoutData ld = new BoxLayoutData();
          ld.setMargins(new Margins(1, 2, 2, 2 + adj));
          w.setLayoutData(ld);
          con.add(w);
          adj = 0;
        }
      }
View Full Code Here

  public ReportViewImpl(ReportPresenter presenter){
    this.presenter=presenter;
   
   
    allBtnContainer.setVBoxLayoutAlign(VBoxLayoutAlign.STRETCH);
    BoxLayoutData vBoxData = new BoxLayoutData(new Margins(5, 5, 5, 5));
    ToggleGroup tg=new ToggleGroup();
    ToggleButton runningTrend=new ToggleButton("每日失败任务趋势");
    runningTrend.setAllowDepress(false);
    runningTrend.addValueChangeHandler(new ValueChangeHandler<Boolean>() {
      private RunningJobTrend trend=new RunningJobTrend();
View Full Code Here

  public void setCenter(Widget widget){
    container.setCenterWidget(widget,new MarginData(3));
  }
 
  public void addButton(CellButtonBase<?> btn){
    BoxLayoutData data=new BoxLayoutData(new Margins(5));
    buttonArea.add(btn,data);
  }
View Full Code Here

          getPlatformContext().getPlatformBus().fireEvent(new PlatformPlaceChangeEvent(app.getPlace(),true));
        }
      });
      shortcuts.add(app.getShortcut());
     
      shortcutBar.add(app.getShortcut(),new BoxLayoutData(new Margins(2,0,5,0)));
    }
  }
View Full Code Here

TOP

Related Classes of com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData

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.