本文整理汇总了Java中com.vaadin.ui.Table.setCaption方法的典型用法代码示例。如果您正苦于以下问题:Java Table.setCaption方法的具体用法?Java Table.setCaption怎么用?Java Table.setCaption使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.vaadin.ui.Table
的用法示例。
在下文中一共展示了Table.setCaption方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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;
}
示例2: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// table
table = new Table();
table.setCaption("PIP Configurations");
table.setImmediate(false);
table.setWidth("-1px");
table.setHeight("-1px");
mainLayout.addComponent(table);
// buttonSave
buttonSave = new Button();
buttonSave.setCaption("Save");
buttonSave.setImmediate(false);
buttonSave.setWidth("-1px");
buttonSave.setHeight("-1px");
mainLayout.addComponent(buttonSave);
mainLayout.setComponentAlignment(buttonSave, new Alignment(48));
return mainLayout;
}
示例3: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// tableFunctions
tableFunctions = new Table();
tableFunctions.setCaption("Function");
tableFunctions.setImmediate(true);
tableFunctions
.setDescription("Select a function for matching the attribute.");
tableFunctions.setWidth("100.0%");
tableFunctions.setHeight("-1px");
tableFunctions.setInvalidAllowed(false);
tableFunctions.setRequired(true);
mainLayout.addComponent(tableFunctions);
mainLayout.setExpandRatio(tableFunctions, 1.0f);
// buttonSave
buttonSave = new Button();
buttonSave.setCaption("Save");
buttonSave.setImmediate(true);
buttonSave.setWidth("-1px");
buttonSave.setHeight("-1px");
mainLayout.addComponent(buttonSave);
mainLayout.setComponentAlignment(buttonSave, new Alignment(48));
return mainLayout;
}
示例4: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// horizontalLayout_1
horizontalLayout_1 = buildHorizontalLayout_1();
mainLayout.addComponent(horizontalLayout_1);
// tableFunction
tableFunction = new Table();
tableFunction.setCaption("Select A Function");
tableFunction.setImmediate(false);
tableFunction.setWidth("100.0%");
tableFunction.setHeight("-1px");
tableFunction.setInvalidAllowed(false);
tableFunction.setRequired(true);
mainLayout.addComponent(tableFunction);
mainLayout.setExpandRatio(tableFunction, 1.0f);
// buttonSelect
buttonSelect = new Button();
buttonSelect.setCaption("Select and Continue");
buttonSelect.setImmediate(true);
buttonSelect.setWidth("-1px");
buttonSelect.setHeight("-1px");
mainLayout.addComponent(buttonSelect);
mainLayout.setComponentAlignment(buttonSelect, new Alignment(48));
return mainLayout;
}
示例5: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
// common part: create layout
mainLayout = new VerticalLayout();
mainLayout.setImmediate(false);
mainLayout.setWidth("100.0%");
mainLayout.setHeight("-1px");
mainLayout.setMargin(true);
mainLayout.setSpacing(true);
// top-level component properties
setWidth("-1px");
setHeight("-1px");
// table
table = new Table();
table.setCaption("Status");
table.setImmediate(false);
table.setWidth("100.0%");
table.setHeight("-1px");
mainLayout.addComponent(table);
// buttonOK
buttonOK = new Button();
buttonOK.setCaption("Ok");
buttonOK.setImmediate(true);
buttonOK.setWidth("-1px");
buttonOK.setHeight("-1px");
mainLayout.addComponent(buttonOK);
mainLayout.setComponentAlignment(buttonOK, new Alignment(48));
return mainLayout;
}
示例6: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
// common part: create layout
mainLayout = new VerticalLayout();
mainLayout.setImmediate(false);
mainLayout.setWidth("-1px");
mainLayout.setHeight("-1px");
mainLayout.setMargin(false);
// top-level component properties
setWidth("-1px");
setHeight("-1px");
// tableExpressions
tableExpressions = new Table();
tableExpressions.setCaption("Expressions");
tableExpressions.setImmediate(false);
tableExpressions
.setDescription("The list of expressions for the obligation/advice object.");
tableExpressions.setWidth("-1px");
tableExpressions.setHeight("-1px");
mainLayout.addComponent(tableExpressions);
// horizontalLayout_1
horizontalLayout_1 = buildHorizontalLayout_1();
mainLayout.addComponent(horizontalLayout_1);
return mainLayout;
}
示例7: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// tableEnumerations
tableEnumerations = new Table();
tableEnumerations.setCaption("Enumeration Values");
tableEnumerations.setImmediate(true);
tableEnumerations
.setDescription("Enter possible values for the attribute.");
tableEnumerations.setWidth("100.0%");
tableEnumerations.setHeight("-1px");
tableEnumerations.setInvalidAllowed(false);
mainLayout.addComponent(tableEnumerations);
mainLayout.setExpandRatio(tableEnumerations, 1.0f);
// horizontalLayout_1
horizontalLayout_1 = buildHorizontalLayout_1();
mainLayout.addComponent(horizontalLayout_1);
mainLayout.setExpandRatio(horizontalLayout_1, 1.0f);
return mainLayout;
}
示例8: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// horizontalLayout_1
horizontalLayout_1 = buildHorizontalLayout_1();
mainLayout.addComponent(horizontalLayout_1);
// tableParameters
tableParameters = new Table();
tableParameters.setCaption("Configuration Parameters");
tableParameters.setImmediate(false);
tableParameters.setWidth("-1px");
tableParameters.setHeight("-1px");
mainLayout.addComponent(tableParameters);
return mainLayout;
}
示例9: buildHorizontalLayout_1
import com.vaadin.ui.Table; //导入方法依赖的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);
horizontalLayout_1.setSpacing(true);
// tableCategory
tableCategory = new Table();
tableCategory.setCaption("Choose Category");
tableCategory.setImmediate(false);
tableCategory.setWidth("-1px");
tableCategory.setHeight("-1px");
tableCategory.setInvalidAllowed(false);
tableCategory.setRequired(true);
horizontalLayout_1.addComponent(tableCategory);
// tableDatatype
tableDatatype = new Table();
tableDatatype.setCaption("Choose Data Type");
tableDatatype.setImmediate(false);
tableDatatype.setWidth("-1px");
tableDatatype.setHeight("-1px");
tableDatatype.setInvalidAllowed(false);
tableDatatype.setRequired(true);
horizontalLayout_1.addComponent(tableDatatype);
return horizontalLayout_1;
}
示例10: buildHorizontalLayout_2
import com.vaadin.ui.Table; //导入方法依赖的package包/类
@AutoGenerated
private HorizontalLayout buildHorizontalLayout_2() {
// common part: create layout
horizontalLayout_2 = new HorizontalLayout();
horizontalLayout_2.setImmediate(false);
horizontalLayout_2.setWidth("-1px");
horizontalLayout_2.setHeight("-1px");
horizontalLayout_2.setMargin(false);
horizontalLayout_2.setSpacing(true);
// tableAttributes
tableAttributes = new Table();
tableAttributes.setCaption("Standard Attributes");
tableAttributes.setImmediate(false);
tableAttributes.setWidth("-1px");
tableAttributes.setHeight("-1px");
tableAttributes.setInvalidAllowed(false);
tableAttributes.setRequired(true);
horizontalLayout_2.addComponent(tableAttributes);
// tableDatatypes
tableDatatypes = new Table();
tableDatatypes.setCaption("Standard Data Types");
tableDatatypes.setImmediate(false);
tableDatatypes.setWidth("-1px");
tableDatatypes.setHeight("-1px");
tableDatatypes.setInvalidAllowed(false);
tableDatatypes.setRequired(true);
horizontalLayout_2.addComponent(tableDatatypes);
return horizontalLayout_2;
}
示例11: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
// common part: create layout
mainLayout = new VerticalLayout();
mainLayout.setImmediate(false);
mainLayout.setWidth("100%");
mainLayout.setHeight("-1px");
mainLayout.setMargin(true);
mainLayout.setSpacing(true);
// top-level component properties
setWidth("100.0%");
setHeight("-1px");
// horizontalLayoutToolbar
horizontalLayoutToolbar = buildHorizontalLayoutToolbar();
mainLayout.addComponent(horizontalLayoutToolbar);
// tablePIP
tablePIP = new Table();
tablePIP.setCaption("PIP Configurations");
tablePIP.setImmediate(false);
tablePIP.setWidth("100.0%");
tablePIP.setHeight("-1px");
mainLayout.addComponent(tablePIP);
return mainLayout;
}
示例12: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// textAreaComments
textAreaComments = new TextArea();
textAreaComments.setCaption("Add Comments");
textAreaComments.setImmediate(false);
textAreaComments
.setDescription("Enter comments that reflect the changes you have made to the repository domains and/or policy files.");
textAreaComments.setWidth("400px");
textAreaComments.setHeight("-1px");
textAreaComments.setInvalidAllowed(false);
textAreaComments.setRequired(true);
textAreaComments
.setInputPrompt("Eg. Add new rule for employees in marketing department.");
mainLayout.addComponent(textAreaComments);
// tableChanges
tableChanges = new Table();
tableChanges.setCaption("Changes To Be Pushed");
tableChanges.setImmediate(false);
tableChanges.setWidth("100.0%");
tableChanges.setHeight("-1px");
mainLayout.addComponent(tableChanges);
mainLayout.setExpandRatio(tableChanges, 1.0f);
// buttonPush
buttonPush = new Button();
buttonPush.setCaption("Push Changes");
buttonPush.setImmediate(true);
buttonPush.setWidth("-1px");
buttonPush.setHeight("-1px");
mainLayout.addComponent(buttonPush);
mainLayout.setComponentAlignment(buttonPush, new Alignment(48));
return mainLayout;
}
示例13: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// textFieldAttributeID
textFieldAttributeID = new TextField();
textFieldAttributeID.setCaption("Attribute Assignment ID");
textFieldAttributeID.setImmediate(false);
textFieldAttributeID.setWidth("-1px");
textFieldAttributeID.setHeight("-1px");
textFieldAttributeID.setInvalidAllowed(false);
textFieldAttributeID.setRequired(true);
mainLayout.addComponent(textFieldAttributeID);
// textFieldIssuer
textFieldIssuer = new TextField();
textFieldIssuer.setCaption("Issuer (Optional)");
textFieldIssuer.setImmediate(false);
textFieldIssuer.setWidth("-1px");
textFieldIssuer.setHeight("-1px");
textFieldIssuer.setNullSettingAllowed(true);
mainLayout.addComponent(textFieldIssuer);
// tableCategories
tableCategories = new Table();
tableCategories.setCaption("Category (Optional)");
tableCategories.setImmediate(false);
tableCategories.setWidth("100.0%");
tableCategories.setHeight("-1px");
mainLayout.addComponent(tableCategories);
// buttonSave
buttonSave = new Button();
buttonSave.setCaption("Save");
buttonSave.setImmediate(false);
buttonSave.setWidth("-1px");
buttonSave.setHeight("-1px");
mainLayout.addComponent(buttonSave);
mainLayout.setComponentAlignment(buttonSave, new Alignment(48));
return mainLayout;
}
示例14: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的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");
// textAreaSelect
textAreaSelect = new TextArea();
textAreaSelect.setCaption("SQL Select Statement");
textAreaSelect.setImmediate(false);
textAreaSelect.setWidth("100.0%");
textAreaSelect.setHeight("-1px");
textAreaSelect.setInvalidAllowed(false);
textAreaSelect.setRequired(true);
mainLayout.addComponent(textAreaSelect);
mainLayout.setExpandRatio(textAreaSelect, 1.0f);
// textFieldBase
textFieldBase = new TextField();
textFieldBase.setCaption("Base DN");
textFieldBase.setImmediate(false);
textFieldBase.setWidth("-1px");
textFieldBase.setHeight("-1px");
mainLayout.addComponent(textFieldBase);
// textFieldFilter
textFieldFilter = new TextField();
textFieldFilter.setCaption("Filter");
textFieldFilter.setImmediate(false);
textFieldFilter.setWidth("-1px");
textFieldFilter.setHeight("-1px");
mainLayout.addComponent(textFieldFilter);
// checkBoxShortIds
checkBoxShortIds = new CheckBox();
checkBoxShortIds.setCaption("Display short id’s.");
checkBoxShortIds.setImmediate(false);
checkBoxShortIds.setWidth("-1px");
checkBoxShortIds.setHeight("-1px");
mainLayout.addComponent(checkBoxShortIds);
// tableRequiredAttributes
tableRequiredAttributes = new Table();
tableRequiredAttributes.setCaption("Attributes Returned");
tableRequiredAttributes.setImmediate(false);
tableRequiredAttributes.setWidth("-1px");
tableRequiredAttributes.setHeight("-1px");
mainLayout.addComponent(tableRequiredAttributes);
// tableAttributes
tableAttributes = new Table();
tableAttributes.setCaption("Parameters - Attributes Needed (i.e. ?)");
tableAttributes.setImmediate(false);
tableAttributes.setWidth("-1px");
tableAttributes.setHeight("-1px");
tableAttributes.setInvalidAllowed(false);
tableAttributes.setRequired(true);
mainLayout.addComponent(tableAttributes);
return mainLayout;
}
示例15: buildMainLayout
import com.vaadin.ui.Table; //导入方法依赖的package包/类
@AutoGenerated
private VerticalLayout buildMainLayout() {
// common part: create layout
mainLayout = new VerticalLayout();
mainLayout.setImmediate(false);
mainLayout.setWidth("100.0%");
mainLayout.setHeight("-1px");
mainLayout.setMargin(true);
mainLayout.setSpacing(true);
// top-level component properties
setWidth("-1px");
setHeight("-1px");
// textName
textName = new TextField();
textName.setCaption("Group Name");
textName.setImmediate(false);
textName.setWidth("-1px");
textName.setHeight("-1px");
textName.setRequired(true);
mainLayout.addComponent(textName);
// textDescription
textDescription = new TextArea();
textDescription.setCaption("Group Description");
textDescription.setImmediate(false);
textDescription.setWidth("100.0%");
textDescription.setHeight("-1px");
textDescription.setNullSettingAllowed(true);
mainLayout.addComponent(textDescription);
mainLayout.setExpandRatio(textDescription, 1.0f);
// tablePolicies
tablePolicies = new Table();
tablePolicies.setCaption("Policies");
tablePolicies.setImmediate(false);
tablePolicies.setWidth("-1px");
tablePolicies.setHeight("-1px");
mainLayout.addComponent(tablePolicies);
mainLayout.setExpandRatio(tablePolicies, 1.0f);
// tablePIP
tablePIP = new Table();
tablePIP.setCaption("PIP Configurations");
tablePIP.setImmediate(false);
tablePIP.setWidth("-1px");
tablePIP.setHeight("-1px");
mainLayout.addComponent(tablePIP);
mainLayout.setExpandRatio(tablePIP, 1.0f);
// buttonSave
buttonSave = new Button();
buttonSave.setCaption("Save");
buttonSave.setImmediate(true);
buttonSave.setWidth("-1px");
buttonSave.setHeight("-1px");
mainLayout.addComponent(buttonSave);
mainLayout.setComponentAlignment(buttonSave, new Alignment(48));
return mainLayout;
}