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


Java AutoGenerated类代码示例

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


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

示例1: buildHorizontalLayout_1

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_1() {
	// common part: create layout
	horizontalLayout_1 = new HorizontalLayout();
	horizontalLayout_1.setImmediate(false);
	horizontalLayout_1.setWidth("-1px");
	horizontalLayout_1.setHeight("-1px");
	horizontalLayout_1.setMargin(false);
	
	// optionGroupAttribute
	optionGroupAttribute = new OptionGroup();
	optionGroupAttribute.setCaption("Attribute Source");
	optionGroupAttribute.setImmediate(false);
	optionGroupAttribute.setWidth("-1px");
	optionGroupAttribute.setHeight("-1px");
	optionGroupAttribute.setInvalidAllowed(false);
	horizontalLayout_1.addComponent(optionGroupAttribute);
	
	// verticalLayout_2
	verticalLayout_2 = buildVerticalLayout_2();
	horizontalLayout_1.addComponent(verticalLayout_2);
	
	return horizontalLayout_1;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:25,代码来源:AttributeSelectionWindow.java

示例2: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("-1px");
	mainLayout.setHeight("-1px");
	mainLayout.setMargin(true);
	mainLayout.setSpacing(true);
	
	// top-level component properties
	setWidth("-1px");
	setHeight("-1px");
	
	// upload_1
	upload = new Upload();
	upload.setImmediate(false);
	upload.setWidth("-1px");
	upload.setHeight("-1px");
	mainLayout.addComponent(upload);
	
	return mainLayout;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:24,代码来源:PIPImportWindow.java

示例3: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("-1px");
	mainLayout.setHeight("-1px");
	mainLayout.setMargin(true);
	mainLayout.setSpacing(true);
	
	// top-level component properties
	setWidth("-1px");
	setHeight("-1px");
	
	// comboBox
	comboBox = new ComboBox();
	comboBox.setImmediate(false);
	comboBox.setWidth("-1px");
	comboBox.setHeight("-1px");
	mainLayout.addComponent(comboBox);
	
	// treeExpression
	treeExpression = new Tree();
	treeExpression.setImmediate(false);
	treeExpression.setWidth("100.0%");
	treeExpression.setHeight("-1px");
	mainLayout.addComponent(treeExpression);
	mainLayout.setExpandRatio(treeExpression, 1.0f);
	
	return mainLayout;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:32,代码来源:ExpressionEditorWindow.java

示例4: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("-1px");
	mainLayout.setHeight("-1px");
	mainLayout.setMargin(false);
	mainLayout.setSpacing(true);
	
	// top-level component properties
	setWidth("-1px");
	setHeight("-1px");
	
	// tableResolvers
	tableResolvers = new Table();
	tableResolvers.setCaption("Resolvers");
	tableResolvers.setImmediate(false);
	tableResolvers.setWidth("-1px");
	tableResolvers.setHeight("-1px");
	mainLayout.addComponent(tableResolvers);
	
	return mainLayout;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:25,代码来源:PIPResolverComponent.java

示例5: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("100%");
	mainLayout.setMargin(false);
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("100.0%");
	
	// horizontalSplitPanel
	horizontalSplitPanel = buildHorizontalSplitPanel();
	mainLayout.addComponent(horizontalSplitPanel);
	mainLayout.setExpandRatio(horizontalSplitPanel, 1.0f);
	
	return mainLayout;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:21,代码来源:PolicyWorkspace.java

示例6: buildHorizontalSplitPanel

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private HorizontalSplitPanel buildHorizontalSplitPanel() {
	// common part: create layout
	horizontalSplitPanel = new HorizontalSplitPanel();
	horizontalSplitPanel.setImmediate(false);
	horizontalSplitPanel.setWidth("100.0%");
	horizontalSplitPanel.setHeight("100.0%");
	
	// verticalLayoutLeftPanel
	verticalLayoutLeftPanel = buildVerticalLayoutLeftPanel();
	horizontalSplitPanel.addComponent(verticalLayoutLeftPanel);
	
	// verticalLayoutRightPanel
	verticalLayoutRightPanel = buildVerticalLayoutRightPanel();
	horizontalSplitPanel.addComponent(verticalLayoutRightPanel);
	
	return horizontalSplitPanel;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:19,代码来源:PolicyWorkspace.java

示例7: buildVerticalLayoutLeftPanel

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildVerticalLayoutLeftPanel() {
	// common part: create layout
	verticalLayoutLeftPanel = new VerticalLayout();
	verticalLayoutLeftPanel.setImmediate(false);
	verticalLayoutLeftPanel.setWidth("100.0%");
	verticalLayoutLeftPanel.setHeight("100.0%");
	verticalLayoutLeftPanel.setMargin(true);
	verticalLayoutLeftPanel.setSpacing(true);
	
	// horizontalLayoutLeftToolbar
	horizontalLayoutLeftToolbar = buildHorizontalLayoutLeftToolbar();
	verticalLayoutLeftPanel.addComponent(horizontalLayoutLeftToolbar);
	
	// treeWorkspace
	treeWorkspace = new TreeTable();
	treeWorkspace.setImmediate(true);
	treeWorkspace.setWidth("100.0%");
	treeWorkspace.setHeight("100.0%");
	verticalLayoutLeftPanel.addComponent(treeWorkspace);
	verticalLayoutLeftPanel.setExpandRatio(treeWorkspace, 1.0f);
	
	return verticalLayoutLeftPanel;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:25,代码来源:PolicyWorkspace.java

示例8: buildVerticalLayoutRightPanel

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildVerticalLayoutRightPanel() {
	// common part: create layout
	verticalLayoutRightPanel = new VerticalLayout();
	verticalLayoutRightPanel.setImmediate(false);
	verticalLayoutRightPanel.setWidth("100.0%");
	verticalLayoutRightPanel.setHeight("-1px");
	verticalLayoutRightPanel.setMargin(true);
	verticalLayoutRightPanel.setSpacing(true);
	
	// horizontalLayoutRightToolbar
	horizontalLayoutRightToolbar = buildHorizontalLayoutRightToolbar();
	verticalLayoutRightPanel.addComponent(horizontalLayoutRightToolbar);
	
	// tabSheet
	tabSheet = new TabSheet();
	tabSheet.setImmediate(true);
	tabSheet.setWidth("100.0%");
	tabSheet.setHeight("-1px");
	verticalLayoutRightPanel.addComponent(tabSheet);
	verticalLayoutRightPanel.setExpandRatio(tabSheet, 1.0f);
	
	return verticalLayoutRightPanel;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:25,代码来源:PolicyWorkspace.java

示例9: buildHorizontalLayoutRightToolbar

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private HorizontalLayout buildHorizontalLayoutRightToolbar() {
	// common part: create layout
	horizontalLayoutRightToolbar = new HorizontalLayout();
	horizontalLayoutRightToolbar.setImmediate(false);
	horizontalLayoutRightToolbar.setWidth("100.0%");
	horizontalLayoutRightToolbar.setHeight("-1px");
	horizontalLayoutRightToolbar.setMargin(false);
	horizontalLayoutRightToolbar.setSpacing(true);
	
	// buttonRight
	buttonRight = new Button();
	buttonRight.setCaption(">>");
	buttonRight.setImmediate(true);
	buttonRight.setDescription("Restore left panel.");
	buttonRight.setWidth("-1px");
	buttonRight.setHeight("-1px");
	horizontalLayoutRightToolbar.addComponent(buttonRight);
	
	return horizontalLayoutRightToolbar;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:22,代码来源:PolicyWorkspace.java

示例10: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
	// common part: create layout
	mainLayout = new VerticalLayout();
	mainLayout.setImmediate(false);
	mainLayout.setWidth("100%");
	mainLayout.setHeight("-1px");
	mainLayout.setMargin(false);
	
	// top-level component properties
	setWidth("100.0%");
	setHeight("-1px");
	
	// horizontalLayoutToolbar
	horizontalLayoutToolbar = buildHorizontalLayoutToolbar();
	mainLayout.addComponent(horizontalLayoutToolbar);
	
	// tableUsers
	tableUsers = new Table();
	tableUsers.setImmediate(false);
	tableUsers.setWidth("100.0%");
	tableUsers.setHeight("-1px");
	mainLayout.addComponent(tableUsers);
	
	return mainLayout;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:27,代码来源:UserManagement.java

示例11: buildMainLayout

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

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

	// users
	users = new Table();
	users.setImmediate(false);
	users.setWidth("100.0%");
	users.setHeight("100%");
	mainLayout.addComponent(users);

	return mainLayout;
}
 
开发者ID:dnebinger,项目名称:vaadin-sample-portlet,代码行数:23,代码来源:UserListComponent.java

示例12: buildMainLayout

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

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

	// userPages
	userPages = buildUserPages(uui);
	mainLayout.addComponent(userPages);

	return mainLayout;
}
 
开发者ID:dnebinger,项目名称:vaadin-sample-portlet,代码行数:20,代码来源:LiferayUsersComponent.java

示例13: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的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

示例14: buildHorizontalSplitPanel_2

import com.vaadin.annotations.AutoGenerated; //导入依赖的package包/类
@AutoGenerated
private HorizontalSplitPanel buildHorizontalSplitPanel_2() {
    // common part: create layout
    horizontalSplitPanel_2 = new HorizontalSplitPanel();
    horizontalSplitPanel_2.setImmediate(false);
    horizontalSplitPanel_2.setWidth("100.0%");
    horizontalSplitPanel_2.setHeight("100.0%");

    // filterTable
    filterTable = new FilterTable();
    filterTable.setImmediate(false);
    filterTable.setWidth("100.0%");
    filterTable.setHeight("100.0%");
    horizontalSplitPanel_2.addComponent(filterTable);

    // verticalLayout_1
    verticalLayout_1 = buildVerticalLayout_1();
    horizontalSplitPanel_2.addComponent(verticalLayout_1);

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

示例15: buildMainLayout

import com.vaadin.annotations.AutoGenerated; //导入依赖的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


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