当前位置: 首页>>代码示例>>Java>>正文


Java AbsoluteLayout.setWidth方法代码示例

本文整理汇总了Java中com.vaadin.ui.AbsoluteLayout.setWidth方法的典型用法代码示例。如果您正苦于以下问题:Java AbsoluteLayout.setWidth方法的具体用法?Java AbsoluteLayout.setWidth怎么用?Java AbsoluteLayout.setWidth使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.vaadin.ui.AbsoluteLayout的用法示例。


在下文中一共展示了AbsoluteLayout.setWidth方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // horizontalSplitPanel_2
    horizontalSplitPanel_2 = buildHorizontalSplitPanel_2();
    mainLayout.addComponent(horizontalSplitPanel_2,
            "top:0.0px;right:1.0px;bottom:3.0px;left:0.0px;");

    return mainLayout;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:20,代码来源:TransactionLogView.java

示例2: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // verticalLayout_1
    verticalLayout_1 = buildVerticalLayout_1();
    mainLayout.addComponent(verticalLayout_1, "top:0.0px;left:0.0px;");

    return mainLayout;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:19,代码来源:OpenTransactionLogFileDialog.java

示例3: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("100%");
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("100.0%");
	
	// verticalLayout_4
	verticalLayout_4 = buildVerticalLayout_4();
	mainLayout.addComponent(verticalLayout_4,
			"top:0.0px;right:0.0px;bottom:6.0px;left:0.0px;");
	
	return mainLayout;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:20,代码来源:MainLayout.java

示例4: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
    // common part: create layout
    mainLayout = new AbsoluteLayout();
    mainLayout.setImmediate(false);
    mainLayout.setWidth("100%");
    mainLayout.setHeight("100%");

    // top-level component properties
    setWidth("100.0%");
    setHeight("100.0%");

    // horizontalSplitPanel_1
    horizontalSplitPanel_1 = buildHorizontalSplitPanel_1();
    mainLayout.addComponent(horizontalSplitPanel_1,
            "top:0.0px;right:0.0px;bottom:8.0px;left:0.0px;");

    return mainLayout;
}
 
开发者ID:alenca,项目名称:zklogtool,代码行数:20,代码来源:SnapshotView.java

示例5: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// codeField
	codeField = new TextField();
	codeField.setCaption("Código");
	codeField.setImmediate(false);
	codeField.setWidth("140px");
	codeField.setHeight("-1px");
	codeField.setTabIndex(1);
	codeField.setRequired(true);
	mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	descriptionField.setTabIndex(2);
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:35,代码来源:AlarmStatusViewForm.java

示例6: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
	private AbsoluteLayout buildMainLayout() {
		// common part: create layout
		mainLayout = new AbsoluteLayout();
		mainLayout.setImmediate(false);
//		mainLayout.setWidth("982px");
		mainLayout.setWidth("100%");
		mainLayout.setHeight("143px");
		
		// top-level component properties
//		setWidth("982px");
		setWidth("100.0%");
		setHeight("143px");
		
		// headerImage
		headerImage = new Embedded();
		headerImage.setImmediate(false);
		headerImage.setWidth("982px");
		headerImage.setHeight("143px");
		headerImage.setSource(new ThemeResource(
				"img/component/embedded_icon.png"));
		headerImage.setType(1);
		headerImage.setMimeType("image/png");
		mainLayout.addComponent(headerImage, "top:0.0px;left:0.0px;");
		
		return mainLayout;
	}
 
开发者ID:unicesi,项目名称:academ,代码行数:28,代码来源:PanelEncabezado.java

示例7: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// codeField
	codeField = new TextField();
	codeField.setCaption("Código");
	codeField.setImmediate(false);
	codeField.setWidth("140px");
	codeField.setHeight("-1px");
	codeField.setTabIndex(1);
	codeField.setRequired(true);
	mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	mainLayout.addComponent(descriptionField, "top:57.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:34,代码来源:OrganizationTypeViewForm.java

示例8: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("360px");
	mainLayout.setHeight("140px");
	
	// top-level component properties
	setWidth("360px");
	setHeight("140px");
	
	// textField_1
	textField_1 = new TextField();
	textField_1.setCaption("Nombre");
	textField_1.setImmediate(false);
	textField_1.setWidth("241px");
	textField_1.setHeight("-1px");
	mainLayout.addComponent(textField_1, "top:40.0px;left:60.0px;");
	
	// btn_guardar
	btn_guardar = new Button();
	btn_guardar.setCaption("guardar");
	btn_guardar.setImmediate(true);
	btn_guardar.setWidth("240px");
	btn_guardar.setHeight("-1px");
	mainLayout.addComponent(btn_guardar, "top:80.0px;left:60.0px;");
	
	return mainLayout;
}
 
开发者ID:unicesi,项目名称:academ,代码行数:31,代码来源:PanelEditarBloque.java

示例9: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	// nameField
	nameField = new TextField();
	nameField.setCaption("Nombre");
	nameField.setImmediate(false);
	nameField.setWidth("120px");
	nameField.setHeight("-1px");
	nameField.setTabIndex(1);
	nameField.setRequired(true);
	mainLayout.addComponent(nameField, "top:17.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:34,代码来源:EmployeeAgentTypeViewComponent.java

示例10: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// nameField
	nameField = new TextField();
	nameField.setCaption("Nombre");
	nameField.setImmediate(false);
	nameField.setWidth("140px");
	nameField.setHeight("-1px");
	nameField.setTabIndex(1);
	nameField.setRequired(true);
	mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:34,代码来源:SupplierGroupViewForm.java

示例11: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("340px");
	mainLayout.setHeight("180px");
	
	// top-level component properties
	setWidth("340px");
	setHeight("180px");
	
	// btn_guardar
	btn_guardar = new Button();
	btn_guardar.setCaption("Guardar");
	btn_guardar.setImmediate(true);
	btn_guardar.setWidth("220px");
	btn_guardar.setHeight("-1px");
	mainLayout.addComponent(btn_guardar, "top:120.0px;left:60.0px;");
	
	// txt_codigo
	txt_codigo = new TextField();
	txt_codigo.setStyleName("Código");
	txt_codigo.setCaption("Código");
	txt_codigo.setImmediate(false);
	txt_codigo.setWidth("220px");
	txt_codigo.setHeight("-1px");
	mainLayout.addComponent(txt_codigo, "top:36.0px;left:60.0px;");
	
	// txt_nombre
	txt_nombre = new TextField();
	txt_nombre.setCaption("Nombre");
	txt_nombre.setImmediate(false);
	txt_nombre.setWidth("220px");
	txt_nombre.setHeight("-1px");
	mainLayout.addComponent(txt_nombre, "top:80.0px;left:60.0px;");
	
	return mainLayout;
}
 
开发者ID:unicesi,项目名称:academ,代码行数:40,代码来源:PanelEditarMateria.java

示例12: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// codeField
	codeField = new TextField();
	codeField.setCaption("Código");
	codeField.setImmediate(false);
	codeField.setWidth("140px");
	codeField.setHeight("-1px");
	codeField.setTabIndex(1);
	codeField.setRequired(true);
	codeField.setMaxLength(64);
	mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	descriptionField.setTabIndex(2);
	descriptionField.setMaxLength(256);
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:37,代码来源:CalendarTypeViewForm.java

示例13: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// nameField
	nameField = new TextField();
	nameField.setCaption("Nombre");
	nameField.setImmediate(false);
	nameField.setWidth("140px");
	nameField.setHeight("-1px");
	nameField.setTabIndex(1);
	nameField.setRequired(true);
	mainLayout.addComponent(nameField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	descriptionField.setTabIndex(2);
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:35,代码来源:ClientTypeViewForm.java

示例14: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// codeField
	codeField = new TextField();
	codeField.setCaption("Código");
	codeField.setImmediate(false);
	codeField.setWidth("120px");
	codeField.setHeight("-1px");
	codeField.setTabIndex(1);
	codeField.setRequired(true);
	mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:34,代码来源:ProductTypeViewForm.java

示例15: buildMainLayout

import com.vaadin.ui.AbsoluteLayout; //导入方法依赖的package包/类
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new AbsoluteLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("560px");
	mainLayout.setHeight("100px");
	mainLayout.setMargin(true);
	
	// top-level component properties
	setWidth("560px");
	setHeight("100px");
	
	// codeField
	codeField = new TextField();
	codeField.setCaption("Código");
	codeField.setImmediate(false);
	codeField.setWidth("140px");
	codeField.setHeight("-1px");
	codeField.setTabIndex(1);
	codeField.setRequired(true);
	mainLayout.addComponent(codeField, "top:16.0px;left:20.0px;");
	
	// descriptionField
	descriptionField = new TextField();
	descriptionField.setCaption("Descripción");
	descriptionField.setImmediate(false);
	descriptionField.setWidth("520px");
	descriptionField.setHeight("-1px");
	mainLayout.addComponent(descriptionField, "top:56.0px;left:20.0px;");
	
	return mainLayout;
}
 
开发者ID:thingtrack,项目名称:konekti,代码行数:34,代码来源:InvoiceTypeViewForm.java


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