• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java ColumnLayout类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.extjs.gxt.ui.client.widget.layout.ColumnLayout的典型用法代码示例。如果您正苦于以下问题:Java ColumnLayout类的具体用法?Java ColumnLayout怎么用?Java ColumnLayout使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ColumnLayout类属于com.extjs.gxt.ui.client.widget.layout包,在下文中一共展示了ColumnLayout类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: AddDepartmentToAssignmentWindow

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public AddDepartmentToAssignmentWindow(final Integer assignmentId,final ProjectPanel projectPanel){
	this.projectPanel=projectPanel;
	
	setWidth(310);
	setHeight(300);
//	setFrame(true);
	setClosable(true);
	setHeaderVisible(true);
	setBodyBorder(true);
	this.setOnEsc(true);
	setButtonAlign(HorizontalAlignment.CENTER); 
	

	setLayout(new ColumnLayout());
	doDepartmentPanel();
	setData(assignmentId);
	show();
	
	
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:21,代码来源:AddDepartmentToAssignmentWindow.java


示例2: buildColumnContainer

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
/**
 * Builds a new layout container (block) for the given {@code columns} configuration.
 * 
 * @param title
 *          The container title.
 * @param columns
 *          The columns configuration (should not be {@code null} or empty).<br>
 *          The table size defines the total number of columns. Each column contains its fields.
 * @return The layout container.
 */
private static LayoutContainer buildColumnContainer(final String title, final Field<?>[]... columns) {

	final LayoutContainer columnsContainer = Panels.content(title, new ColumnLayout());
	columnsContainer.setBorders(true);
	columnsContainer.setWidth("100%");
	columnsContainer.setStyleAttribute("marginTop", BLOCK_MARGIN_TOP + Unit.PX.getType());

	final double columnWidth = 1.0d / columns.length; // Percentage.

	for (final Field<?>[] column : columns) {

		if (column == null) {
			continue;
		}

		final LayoutContainer columnContainer = Forms.panel(FIELDS_LABEL_WIDTH);

		for (final Field<?> field : column) {
			columnContainer.add(field, Forms.data());
		}

		columnsContainer.add(columnContainer, new ColumnData(columnWidth));
	}

	return columnsContainer;
}
 
开发者ID:sigmah-dev,项目名称:sigmah,代码行数:37,代码来源:LogFrameModelsAdminView.java


示例3: AssignmentDepartmentPanel

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public AssignmentDepartmentPanel(){
	setWidth(700);
	setHeight(300);
	setFrame(true);
	setHeaderVisible(false);
	setBodyBorder(false);
	setButtonAlign(HorizontalAlignment.CENTER); 
	

	setLayout(new ColumnLayout());
	doDepartmentPanel();
	doDetailPanel();
	
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:15,代码来源:AssignmentDepartmentPanel.java


示例4: BranchPanel

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public BranchPanel(){
	
	this.setHeadingHtml("Branch Managment");
	this.setWidth(1024);
	this.setHeight(600);
	this.setFrame(true);
	this.setTopComponent(makeToolBar());
	this.setLayout(new ColumnLayout());
	
	add(getGrid());
	add(getExistingBranchFormPanel());
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:13,代码来源:BranchPanel.java


示例5: AuthPanel

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public AuthPanel(){
	createToolBar();
	setLayout(new ColumnLayout());
	setHeaderVisible(false);

	add(createAuthmethodGrid());
	add(emptyAuthmethodFormPanel());
	
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:10,代码来源:AuthPanel.java


示例6: ExternalRatePanel

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public ExternalRatePanel(){
	setHideMode(HideMode.OFFSETS);
	this.setWidth(1024);
	this.setHeight(600);
	this.setLayout(new ColumnLayout());
	this.add(doUserGrid());
	this.add(doRatePanel());
	grid.getStore().getLoader().load();
	

}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:12,代码来源:ExternalRatePanel.java


示例7: FootBarSheetPanel

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public FootBarSheetPanel(){
	
	this.setFrame(true);
	this.setHeaderVisible(false);
	this.setWidth(1200);
	this.setHeight(200);
	this.setLayout(new ColumnLayout());

	
	projectPanelSheetPanel = new ProjectPanelSheetPanel();
	add(projectPanelSheetPanel);
	notePanelSheetPanel = new NotePanelSheetPanel();
	add(notePanelSheetPanel);
	
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:16,代码来源:FootBarSheetPanel.java


示例8: HourUserReport

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public HourUserReport(){
	
	setHeaderVisible(false);
	setFrame(true);
	setLayout(new ColumnLayout());
	add(doSideMenu());
	add(doReportPanel());
	loadAssignmentComboBox();
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:10,代码来源:HourUserReport.java


示例9: DepartmentReport

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public DepartmentReport(){
	
	setHeaderVisible(false);
	setFrame(true);
	setLayout(new ColumnLayout());
	add(doSideMenu());
	add(doReportPanel());
	
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:10,代码来源:DepartmentReport.java


示例10: AssignmentDetailPanel

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
public AssignmentDetailPanel(){
	
	setFrame(true);
	setWidth(724);
	setHeight(600);
	setLayout(new ColumnLayout());
	add(detailPanel());
}
 
开发者ID:treblereel,项目名称:Opensheet,代码行数:9,代码来源:AssignmentDetailPanel.java


示例11: initUI

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
private void initUI() {
	// ID. (R)
	// DisplayName (R)
	// DerivedFrom Path. (R)
	// CreateDate (R)
	// LastModififed (R)
	
	// Alias (R/W)
	// DisplayNameExpr (R/W)
	// GID (R/W)
	// Description (R/W)
	setLayout(new FlowLayout());
	/*
	Label label = new Label("DerivedPath: Ci/Test/Test2/Test3");
	label.setHeight("20px");
	add(label);
	*/
	setStyleName("ci-id-panel");
		
	FormPanel form2 = new FormPanel(); 
	
	form2.setFrame(false);  
	form2.setHeaderVisible(false);
	//form2.setHeading("Identification");  
	form2.setLayout(new FlowLayout()); 
	//form2.setCollapsible(true);  
	form2.setSize(-1, 180);
	form2.setLabelWidth(60);
	form2.setFieldWidth(100);
	
	LayoutContainer main = new LayoutContainer();  
	main.setLayout(new ColumnLayout());
	main.setSize(700, 180);
	
	LayoutContainer left = new LayoutContainer();  
	FormLayout layout = new FormLayout();  
	layout.setLabelAlign(LabelAlign.LEFT);  
	layout.setDefaultWidth(180);
	left.setLayout(layout); 
	
	
	FormLayout rightLayout = new FormLayout();  
	rightLayout.setLabelAlign(LabelAlign.LEFT);
	rightLayout.setDefaultWidth(150);
	left.setLayout(layout); 
	
	LayoutContainer right = new LayoutContainer();  
	right.setLayout(rightLayout); 
	
	getInternalModifyFieldSet(left);
	getInternalReadOnlyFieldSet(right);
	left.layout();
	main.add(left, new ColumnData(.5));
	main.add(right, new ColumnData(.5));
	
	form2.add(main);
	/*
	form2.setButtonAlign(HorizontalAlignment.LEFT);
	form2.addButton(new Button("Cancel"));  
	form2.addButton(new Button("Submit"));  
	*/
	add(form2);
	
	layout();
}
 
开发者ID:luox12,项目名称:onecmdb,代码行数:66,代码来源:CIIdentityForm.java


示例12: setupPanelLayout

import com.extjs.gxt.ui.client.widget.layout.ColumnLayout; //导入依赖的package包/类
@Override
	protected void setupPanelLayout() {
		LayoutContainer main = new LayoutContainer();
		main.setLayout(new ColumnLayout());
		FormData formData = new FormData("95%");

		LayoutContainer left = new LayoutContainer();
		left.setStyleAttribute("paddingRight", "10px");
		FormLayout layout = new FormLayout();
		layout.setLabelAlign(LabelAlign.TOP);
		left.setLayout(layout);
		fTemplate = new TextArea();
//		first.setHideLabel(true);
		fTemplate.setFieldLabel("快递单模板");
		fTemplate.setHeight(400);
		left.add(fTemplate, formData);

		// VerticalPanel right = new VerticalPanel();
//		LayoutContainer right = new LayoutContainer();
//		right.setStyleAttribute("paddingRight", "10px");
//		layout = new FormLayout();
//		layout.setLabelAlign(LabelAlign.TOP);
//		right.setLayout(layout);
//		TextArea last = new TextArea();
//		last.setHideLabel(true);
//		last.setValue("abc\r\ndef");
//		last.setEnabled(false);
//		right.add(last, formData);
		
//		ContentPanel right = new ContentPanel();
//		right.setHeaderVisible(false);
		HtmlContainer right = new HtmlContainer();
		right.setHtml("订单模板变量说明:<br>"+
				"{$shop_name}表示网店名称<br>"+
				"{$province}表示网店所属省份<br>"+
				"{$city}表示网店所属城市<br>"
				);


		main.add(left, new ColumnData(.7));
		main.add(right, new ColumnData(.3));

		formPanel.add(main);

	}
 
开发者ID:jbosschina,项目名称:jcommerce,代码行数:46,代码来源:ShippingTemplatePanel.java



注:本文中的com.extjs.gxt.ui.client.widget.layout.ColumnLayout类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java PartitionStrategy类代码示例发布时间:2022-05-22
下一篇:
Java FsDatasetUtil类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap